@alex: Ah yes, the old "We can't add that highly useful feature because the end users would be too confused if we did" mantra. You didn't work for Apple in a past life, did you? :-)
Seriously though; there are several ways to achieve this. You can use sanitize_title_with_dashes() on the name of the form but require them to be unique, easy-peasy.
And you could easily add a non-conspicuous field on the advanced tab such as Name form for programmatic access" the only reveals when checked (like "Allow field to be populated dynamically" does for fields) that would default to the title passed to sanitize_title_with_dashes().
I do hope you'll consider this. I had thought I'd gotten past having to use hard-coded numbers in code to identify things when I wrote my last FORTRAN program back in the early 80's, hope you won't prove me wrong. ;-)
(BTW, did you know your forum doesn't display italics?)
Posted 9 years ago on Sunday May 2, 2010 | Permalink