WebSite X5Help Center

 
Ataur Rahman
Ataur Rahman
User

Auto select State & District  en

Autor: Ataur Rahman
Visitado 1282, Followers 1, Compartido 0  

Dear All,

After select my State, how to generate auto list the below colom of All District under selected State? Please Guide!

Publicado en
2 RESPUESTAS
Dave G.
Dave G.
User

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

Leer más
Publicado en de Dave G.
Incomedia
Elisa B.
Incomedia

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.

Leer más
Publicado en de Elisa B.