Editor Forms question 2: Staged entry for Country and then State selects
Editor Forms question 2: Staged entry for Country and then State selects
I like to let the user select a country first. Easy to do with a select type and the AJAX call to the server to get the JSON data for the countries. Then its getting interesting because if the Country is "US" (or whatever) i like to show a second select field for the States.
So the simple solution would not work:
{
"label":"Country",
"name":"country",
"type":"select",
"ipOpts": countryLoader()
},
{
"label":"State",
"name":"state",
"type":"select",
"ipOpts": stateLoader()
}
How could i do this?
cheers
Juergen
So the simple solution would not work:
{
"label":"Country",
"name":"country",
"type":"select",
"ipOpts": countryLoader()
},
{
"label":"State",
"name":"state",
"type":"select",
"ipOpts": stateLoader()
}
How could i do this?
cheers
Juergen
This discussion has been closed.
Replies
Regards,
Allan