sarah
03-24-2003, 03:45 PM
Hey All, (I know its beens awhile - not been too well but feelin much better now)
Okay, I've designed a form where a user enters in their personal details, i.e first name, surname, addy 1, etc. (easy part this is i know!).
<form name="personal1" action="form2.html">
Surname: <input type="text" name="surname" value="">
Forename: <input type="text" name="forename" value="">
......
etc etc...
<input type="submit" name="Submit" value="Submit">
</form>
On sumbitting the form the user is directed to another page with another form (form2.html)
<form name="personal2" action="confirm.html">
Hair color:<input type="text" name="haircolor" value="">
Eye Color:<input type="text" name="eyecolor" value="">
Age:<input type="text" name="age" value="">
Sex:<input type="text" name="sex" value="">
Location:<input type="text" name="location" value="">
......
etc etc...
<input type="submit" name="Submit" value="Submit">
</form>
The problem I am having is displaying the details from the first form (personal1) on the confirmation.html. I searched the forum and there was something about hidden fields, but I'm not sure on the syntax and how to use them.
Any pointers???
Thnx
Okay, I've designed a form where a user enters in their personal details, i.e first name, surname, addy 1, etc. (easy part this is i know!).
<form name="personal1" action="form2.html">
Surname: <input type="text" name="surname" value="">
Forename: <input type="text" name="forename" value="">
......
etc etc...
<input type="submit" name="Submit" value="Submit">
</form>
On sumbitting the form the user is directed to another page with another form (form2.html)
<form name="personal2" action="confirm.html">
Hair color:<input type="text" name="haircolor" value="">
Eye Color:<input type="text" name="eyecolor" value="">
Age:<input type="text" name="age" value="">
Sex:<input type="text" name="sex" value="">
Location:<input type="text" name="location" value="">
......
etc etc...
<input type="submit" name="Submit" value="Submit">
</form>
The problem I am having is displaying the details from the first form (personal1) on the confirmation.html. I searched the forum and there was something about hidden fields, but I'm not sure on the syntax and how to use them.
Any pointers???
Thnx