Huitzilopochtli
Programmer
Hello
I am hoping somebody may be able to throw me a lifeline here!
I use some simple variables in a form so that when it is submitted, the visitor receives a copy of his CDONTS-based e.mail to the Webmaster as in:
Name: John Smith
E.mail: John@Smith.com
Comments: Whatever
For instance:
Dim t1name,t1,t2name,t2
t1name = "name"
while the script behind the form looks like this:
<input type="text" name="T1" size="15">
At the same time, I would also like to use some VBScript to get the user's name so that a personalised 'Thank you' Web page is called.
I do this on another site using:
<input type="text" name="user_name" size=15> on the page which holds the form, and:
<% @ Language=VBScript %>
<% user_name = request.form("user_name" %>
<p>Thank you <%=user_name%></p>
on the 'Thank you' page itself.
But how can I combine the two? That is, how can I personalise a 'Thank you' page, AND use the t1 variable which I have used above? I'm stuck because I am not sure if this is possible:
<input type="text" name="user_name" size=15>
<input type="text" name="T1" size="15">
Thank you for any suggestions?
Huitzilopochtli
I am hoping somebody may be able to throw me a lifeline here!
I use some simple variables in a form so that when it is submitted, the visitor receives a copy of his CDONTS-based e.mail to the Webmaster as in:
Name: John Smith
E.mail: John@Smith.com
Comments: Whatever
For instance:
Dim t1name,t1,t2name,t2
t1name = "name"
while the script behind the form looks like this:
<input type="text" name="T1" size="15">
At the same time, I would also like to use some VBScript to get the user's name so that a personalised 'Thank you' Web page is called.
I do this on another site using:
<input type="text" name="user_name" size=15> on the page which holds the form, and:
<% @ Language=VBScript %>
<% user_name = request.form("user_name" %>
<p>Thank you <%=user_name%></p>
on the 'Thank you' page itself.
But how can I combine the two? That is, how can I personalise a 'Thank you' page, AND use the t1 variable which I have used above? I'm stuck because I am not sure if this is possible:
<input type="text" name="user_name" size=15>
<input type="text" name="T1" size="15">
Thank you for any suggestions?
Huitzilopochtli