A Sample HTML Form Page

Below is a page that creates an HTML form. This will be what is presented to the user for them to fill in, once they click submit the information they entered will be picked up by our ASPFormsV1 object.

Example 2.3. An ASP page with a basic HTML form

	<html>
	  <head>
		<title>A Sample Form</title>
	  </head>
	  <body>
		<form id="form1" action="sample.asp" method="post">
		  <input type="hidden" name="pagepost" size="25" value="1">				
		  <input type="text" name="name" size="25">		
		  <br>
		  <input type="text" name="address1" size="25">
		  <br>
		  <input type="text" name="address2" size="25">
		  <br>
		  <input type="text" name="city" size="25">		  
		  <br>
		  <input type="text" name="state" size="25">
		  <br>
		  <input type="text" name="zipcode" size="25">	
		  <br>		  
		  <input name="cmd" type="submit" value="Save">
		  <input name="cmd" type="submit" value="Cancel">
		</form>
	  </body>
	</html>