I would like to learn how to build a form that dynamically populates other form elements within the form when a specific value is chosen in that control. For instance, say I wanted to build a Form that provided information on a particular Make and Model of a vehicle.
Say I have 2 “Select “ Form Controls. The first Select Control called “Make” and the Second called “Model”.
What I would like to do is, whenever the first Select Control “Make” is selected and a value chosen, I would like for the 2nd Select Control to be dynamically populated with relevant information to the “Make” of that vehicle from a table called “Make” which holds this data.
So if someone was to click on the “Make” Select Control and chose Chrysler, the 2nd Select Control “Model” would be Dynamically populated with models such as, PT Cruiser, Concorde, Voyager, etc…
I know how to “Pre-fill” Form Controls, but this feat seems to be a step or two beyond my current understanding of how to dynamically populate form controls or (Pre-fill) a form control.
I prefer a non-JavaScript and Non-Frame way of doing this, due to the fact that many people disable JavaScript in their browser, which will ultimately render this feature useless. If you only know of a JavaScript method, please show anyway; I suppose if this cant be done Server-Side, something is better than nothing. I guess I could always create a conditional statement to circumvent problems with browsers that have JavaScript disabled.
I hope I made this all clear.
Thanks in Advance!!!
Say I have 2 “Select “ Form Controls. The first Select Control called “Make” and the Second called “Model”.
What I would like to do is, whenever the first Select Control “Make” is selected and a value chosen, I would like for the 2nd Select Control to be dynamically populated with relevant information to the “Make” of that vehicle from a table called “Make” which holds this data.
So if someone was to click on the “Make” Select Control and chose Chrysler, the 2nd Select Control “Model” would be Dynamically populated with models such as, PT Cruiser, Concorde, Voyager, etc…
I know how to “Pre-fill” Form Controls, but this feat seems to be a step or two beyond my current understanding of how to dynamically populate form controls or (Pre-fill) a form control.
I prefer a non-JavaScript and Non-Frame way of doing this, due to the fact that many people disable JavaScript in their browser, which will ultimately render this feature useless. If you only know of a JavaScript method, please show anyway; I suppose if this cant be done Server-Side, something is better than nothing. I guess I could always create a conditional statement to circumvent problems with browsers that have JavaScript disabled.
I hope I made this all clear.
Thanks in Advance!!!