Hello.
I am using CGI.pm to create a web form.
The form has two Select Menus A and B.
Select Menu A options are populated initially when the form is displayed by running a db query using perl DBI.
Select B has no menu options intially since I want to limit the menu options of B based on what the user chooses for Select Menu "A".
When a users selects a value from Select Menu A I want a perl script to run which will then query a db and populate Select Menu B with valid options.
An example of this functionality is:
Select Car Make: [Chevy Nissan Toyota]
Select Car Model:
Car Model displayed should be based on what Car Make they have chosen. (If Toyota is chosen then display car models for toyotas only).
How can this be accomplished with perl and javascript? -or- do I need a server side language at this point?
Thanks.
I am using CGI.pm to create a web form.
The form has two Select Menus A and B.
Select Menu A options are populated initially when the form is displayed by running a db query using perl DBI.
Select B has no menu options intially since I want to limit the menu options of B based on what the user chooses for Select Menu "A".
When a users selects a value from Select Menu A I want a perl script to run which will then query a db and populate Select Menu B with valid options.
An example of this functionality is:
Select Car Make: [Chevy Nissan Toyota]
Select Car Model:
Car Model displayed should be based on what Car Make they have chosen. (If Toyota is chosen then display car models for toyotas only).
How can this be accomplished with perl and javascript? -or- do I need a server side language at this point?
Thanks.