PDA

Click to See Complete Forum and Search --> : Easy one....


turfbult
Mar 7th, 2001, 06:51 AM
Hello,

I have just started to use query strings and need to know the following

I have a page with an inputbox called "email". I now want to send
whatever was put in the inputbox(email) to my next page. My question is...
how do I reference that inputbox...


'This is my form - I want to send email to "test.asp"
<form id="frmcheck" method="POST" action="test.asp">


'This is my inputbox - "email"
<input type="text" name="email" size="20">


Thanks,

Mar 7th, 2001, 07:57 AM
You have to place a button in your Form for submiting your values to test.asp

<FORM id="frmcheck" method="POST" action="test.asp">
<INPUT type="text" name="email" size="20">
<INPUT type="submit" value="Submit">
</FORM>

When your test.asp will be loaded you can get the email value with

' VBScript
Dim MyEmail ' As String
MyEmail = Request ("email")