PDA

Click to See Complete Forum and Search --> : Collectin data out of Forms


gsc1ugs
Jan 9th, 2001, 11:03 AM
<form action="wherever">
<input type=hidden name="recipient" value="sales@magenta-netlogic.com">
<input type=hidden name="subject" value="Register Form">
<input type=hidden name="required" value="name">
<input type=hidden name="required" value="email">
<input type=hidden name="required" value="address">
<input type=hidden name="required" value="city">
<input type=hidden name="required" value="tel">
<input type=hidden name="required" value="zip">
<input type=hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
<input type=hidden name="return_link_url" value="http://www.magenta-netlogic.com">
<input type=hidden name="bgcolor" value="white">
<input type=hidden name="text_color" value="black">
</form


Anyone tell me are i can get the infromation out a form like the above and create the "where ever" string to pass into a ASP file ie:
postuser.asp?name=the form&email=the form etc..

Many thanks

Clunietp
Jan 10th, 2001, 12:03 AM
you are best just manipulating the original form and changing its method from POST to GET, but in case you cannot do this, you can use this code on the receiving page to redirect the form data to a page that uses the querystring:


<%@Language=VBScript EnableSessionState=False%>
<% option explicit
Response.Redirect "myPage.asp?" & Request.Form
%>


That's it!