I am somewhat new to ASP and need a quick form for a small project.
Using ASP (classic - not DotNET) and HTML, i need to create a form, laid out in a table of four rows. The form collects two pieces of information: *username* and *comments*. The action of the form is to email the data pairs. The user may need to add additional pairs of this data. I don't know in advance how many pairs of data will be collected.
I need ASP code that would allow the user go through the form one time, and then have the option to click on a button called "Add additional name", which would append an additional four rows to the table, and increment the variables such that each pair of data is eventually emailed in a format that looks clean.
<form - action sends an email with up to x data pair entries>
<table>
<td>
<tr>Row 1: Instructions</tr>
<tr>Row 2: Name</tr>
<tr>Row 3: Comments</tr>
<tr>Row 4: Button, which when clicked adds another data set</tr>
</td>
</table>
</form>
=================
EMAIL: xxx@[login to view URL]
Subject: Data Form
Name1: abc
Comment1: def
Name2: ghi
Comment2: lmn
Name3: opq
Comment3: rst
etc.