Please add a tutorial on how to auto-populate dropdown boxes

Keegs 22 Apr, 2012
I have searched these forums and i am struggling to understand how to auto-populate a dropdown box
Please can someone post a tutorial on how to achieve this from start to finish.
GreyHead 23 Apr, 2012
Hi Keegs,

Where are your options coming from?

Is this just when the form loads, or are you looking for a double drop-down where changing the option on one drop-down changes the options in a second one.

Bob
crprashant 27 Apr, 2012
Hi Bob,

I am using chrono forms 4 wizard mode

data source for dropdown list is joomla database.

I have 3 drop downs, in first one i want to load during form load.

2nd one should load upon selecting 1st one.

3rd one should load upon selecting 2nd one.

how to do this.

thanks in advance
GreyHead 30 Apr, 2012
Hi crprashant,

There's a JavaScript error on the page: $("subzone_dd") is null

If you look at the Form HTML there is an element with id="SubZone_DD" - as you can see the ids are different, they need to match exactly.

Bob
This topic is locked and no more replies can be posted.