I want to create a form that will allow users to dynamically add new fields to a form.
For example: Let's say I have a form that allows someone to enter their email address to have a catalog sent to them. The default form will only have fields for one address only.
At the end of that form, it will ask if they want to enter additional email addresses. If they choose to, they will click a box and a new address field will appear and they can add more addresses.
One stipulation is there is no limitations to the number of email addresses they can enter. So if they continue checking the box at the end of each email field, a new email box will appear.
Here's a quick sample.
<TITLE>FIRST FORM </TITLE>
<FORM ACTION="test2.cgi" METHOD = "POST">
FIRST NAME: <INPUT NAME="FIRST" TYPE=TEXT SIZE = 25><BR>
LAST NAME: <INPUT NAME="LAST" TYPE=TEXT SIZE = 25><BR>
EMAIL: <INPUT NAME="EMAIL" TYPE=TEXT SIZE = 30><BR>
Enter another email address? <INPUT NAME="more" TYPE=checkbox><BR>
<INPUT TYPE=SUBMIT VALUE="TEST IT">