Hi,

I have two forms, the second of which is in the html of the .cgi which results from the first form.

Ie they fill in the first form, which is on a .html file. Clicking submit sends me an email and takes them to thankyou.cgi.

This thankyou.cgi file has a second form on, through which the user can submit another query, without having to input their contact details again (as they've already done it on the first form).

So... Im trying to get the second form-to-email to automatically include information from the first form.

On the first form, the fields I want the 2nd to pick up are:
<input type="text" name="name" maxlength="70" size="30" style="color:#000099" />
<input type="text" name="phone" maxlength="12" size="30" style="color:#000099" />

So on my second form, the fields for obtaining the info from the first are:
<input type="hidden" name="name" value="<%=request.form("name")%>">
<input type="hidden" name="phone" value="<%=request.form("phone")%>">

And submitting the 2nd form sends me an email, and again returns them to the thankyou.cgi page (where they can submit another, if they so wish!!)

However the email I receive from the 2nd form sends the value "<%=request.form(" to me, rather than bringing the info from the first form.

I got the value="<%=request.form("name")%>"> code from another forum, for asp.

Does this passing of info work in .cgi -- if so, what am i doing wrong?!!

Thanks very much in advance
amx