PDA

View Full Version : Populating Form Fields from Previous Input


AndreaAtSummit
03-31-2006, 05:09 PM
Currently I have a javascript and form combination drop-down menu in which the user selects their state and is then redirected to the appropriate form. How can I add a field to the form that is populated automatically with the state the user chose from the drop down?

(Note: I'm not a programmer, but I can usually follow prebuilt code or a tutorial well enough. Any help to get me in the right direction would be appreciated.)

KevinADC
03-31-2006, 08:46 PM
is the form the user gets directed to generated by a script or is it a static html page?

AndreaAtSummit
03-31-2006, 10:28 PM
It's a static html page.

KevinADC
03-31-2006, 11:36 PM
Then ask in the javascript forum, you might be able to use javascript, but not perl, unless you actually open the html document itself, rewrite it, close it, then print the page you just wrote. Javascript will be easier if it's possible, probably can send data to the next page in the query string and have javascript populate the form field you need with the data from the query string. If that's not possible post back here.