here is our simple form, standard name address phone number with our form with or post method and action
<html> <head><meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"> </head> <body> <form name="myForm" action="myPage.asp" method="post"> <br /> Enter your name: <input type="text" name="name" /> <br /> Enter your address: <input type="text" name="address" /> <br /> <br /> Enter your phone number: <input type="text" name="phone" /> <input type="reset" value="Reset" name="reset" form="form" /> <br /> <input type="submit" value="Submit" name="submit" form="form" /> <br /> </form> </body> </html>
now after the client submits we on the server side collect by getting the values out of the form with the Request Object.
view it like you app is talking to someone, like this: app:Request? smone:Request What? app:the Form data. smone:Got that, what piece do you want. app:the piece with the name marked 'name' and the very first item within it.
so this is how we would pull the data from this form.
<%@ Language="PerlScript" %> <% my ($name, $address, $phone);