Click to See Complete Forum and Search --> : passing variables to form
Bluerock
09-15-2003, 09:19 AM
I have one registration form, but different links that you can click on to get to that form. Each link carries a variable that the form page uses to display the title of the form through javascript (eg: Register for Day 1, Register for Day 2, Register for Day 3, etc.). How can I get that variable to be passed with the email so the person getting it knows which day they signed up for?
Khalid Ali
09-15-2003, 09:57 AM
add a hidden field in the form
such as
<input type="hidden" name="regType">
and when this page loads and you set the title for this form,right then set the input fields value to that as well
document.formName.regType.value="registration type";
Bluerock
09-15-2003, 10:50 AM
that's exactly what I needed, thank you!
Khalid Ali
09-15-2003, 10:53 AM
you are welcome:D