By kalani on
Hi everyone,
I have a question on auto-populating another select list from a selection from another.
Is this possible using 'webform'?
here is the site http://www.letsdiscoverlanguage.com - the form on the right and on the bottom of the form it has two selections 'Course' and 'Level'. What I want to do is select an option from Course and then it populates the levels in the 'Level' select list.
I would appreciate any type of help here, or even just a place that has some documentation on doing this with webform.
Thank you.
Kalani,
Comments
populate select box based on country
dear all
I am also facing the same problem that kalani is facing. I have 3 select boxes namely country, state, mandal (block). Now when the user selects a country the options in state should change based on the country selected and its the same with mandal select box the options in mandal should be based on the state that the user selects. Can any one help us out on how to achieve this mechanism in webforms?
Use jquery
I would populate 'Level' with every possible choice and then use jQuery to alter the choices shown. Specifically I would hide the entire 'level' select box upon page load, and then show it when the Course select experiences a change to only show certain values. You will have to get some values into the level options either in the displayed value or key in order for this to work.
--Zivtech--