Auto select State & District
Autore: Ataur Rahman
Visite 1466,
Followers 1,
Condiviso 0
Dear All,
After select my State, how to generate auto list the below colom of All District under selected State? Please Guide!
Postato il
Hi Ataur, if you are using the Contact object you can define another field with your District options, however for the second field to be automatically driven by the first this is not functionality that is currently supported in X5.
To create this functionality you will need to create some script that defines your states snd districts and associations and then populates the second field based on the first. This can be done in JS or PHP and will require you to modify the HTML or PHP file for the form and as well maintain this as X5 will likely overwrite the deployed file on each new export to web.
You can create an Idea for the functionality that you want in this forum and pethaps one day X5 might include this capability.
Regards!
Dave
Hi Ataur,
thank you for your message.
As Dave has mentioned, you can create a drop-down list with all the possible options using the Contact Form Object, but unfortunately it is not possible to automatically have the program displaying only certain options according to the choice made in the previous field. By using some custom code you could however reach this result, but I also kindly suggest you to report this need onto an Idea post, so the developers can take it into consideration.
Thanks! Kind regards.