|
Suppose, for example, you ask
for a visitor's name, address, and telephone number. You then want to
send them to your catalog page where they can choose which item they
wish to order. Instead of asking them for their personal data a second
time, you can use a CGI script to collect the data from the first Form
and then generate the Hidden Fields that will contain this data in the
second Form. Then, when you go to process the data from he second form,
all of the fields, including both the items ordered, and the personal
data, will be available for your use.
Please enter the following information:
|
************** HTML
FORM **************
<FORM
METHOD="POST"
ACTION="hidden1.pl">
Name <INPUT
TYPE="text"
NAME="name">
State <INPUT
TYPE="text"
NAME="state">
<INPUT
TYPE="submit"
VALUE="Send Data">
</FORM>
************** HTML
FORM ************** |
|