Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl CGI forms.

Status
Not open for further replies.

aswolff

Programmer
Jul 31, 2006
100
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top