I have a safecracker form that allows users to post location details. At the moment, I use a combination of a standard for them to choose the country, and the reegion select fieldtype to select the UK county. Based on there selections, I manually add the category based on these selections.
I am looking for an easier way for the user to add the details in teh safecracker form, and what I would ideally like, is a way for them to choose just the county, from a grouped select.
Something like:
Which would be,
England
- County
- County
- etc
Scotland
- County
- County
- Etc
and so one.
This means they only have to make one select within the form, and it would be easy to validate. Is there a way to produce this type of dropdown from an EE field, that would also be compatible with safecracker and its inline validation?
I'm thinking I could also make this a grouped category dropdown maybe? Although I do like to have the country/county replicated in normal fields as it's easier to pull into templates.
Any help appreciated!
Thanks!