|
-
August 2nd, 2003, 07:55 AM
#4
What you need to do is det up 2 forms. IE
<form action="/cgi/formmail" method="post" enctype="application/x-www-form-urlencoded" target="_self">
<input name="realname" type="text" id="realname" size="20" maxlength="30">
E-Mail Address:<input name="email" type="text" size="20" maxlength="40">
Please provide us with as much information as possible concerning your goals.
<textarea name="info" cols="50" rows="20"></textarea>
<input type="submit" name="Submit"
<input name="Reset" type="reset" id="Reset" value="Reset">
</form>
Then do another form....
<form action="/cgi/formmail" method="post" enctype="application/x-www-form-urlencoded" target="_self">
<input name="realname" type="text" id="realname" size="20" maxlength="30">
E-Mail Address:<input name="email" type="text" size="20" maxlength="40">
Please provide us with as much information as possible concerning your goals.
<textarea name="info" cols="50" rows="20"></textarea>
<input type="submit" name="Submit"
<input name="Reset" type="reset" id="Reset" value="Reset">
</form>
With a different action. The action= part will be what the form gets sent to. Most time you will want to send to a php app thru the POST use.
Ie.. In the php app have
$realname = $_POST['realname'];
This will send the realname valu from the form into the php app.
Let me know if you have any other questions....
xmaddness
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|