Example 1 - Form Using mailform.asp - NIU - Division of Information Technology

      

   

Custom Solutions

Example #1 - form using mailform.asp

Name: 

Address:

City:

State:

Zip:

Mother's Maiden Name:

Comments:


(Submit button goes here)  

Example #1 source code

<form action="http://www.niu.edu/its/scripts/mailform.asp" method="POST">
<input type="hidden" name="mf_to" value="your_email@niu.edu">
<input type="hidden" name="mf_from" value="your_email@niu.edu">
<input type=hidden name="mf_required" value="Name">
<input type=hidden name="mf_success_continue" value="http://www.yahoo.com">
<input type=hidden name="mf_subject" value="Demo Mailform Page">
<input type=hidden name="mf_env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
<br><b>Name: </b><br>
<input TYPE="text" NAME="Name" VALUE="" SIZE=30> <br>
<b>Address:</b><br>
<input TYPE="text" NAME="Address" VALUE="" SIZE=30> <br>
<b>City:</b><br>
<input TYPE="text" NAME="City" VALUE="" SIZE=30> <br>
<b>State:</b><br>
<input TYPE="text" NAME="State" VALUE="" SIZE=30> <br>
<b>Zip:</b><br>
<input TYPE="text" NAME="ZIP" VALUE="" SIZE=30> <br>
<b>Mother's Maiden Name:</b><br>
<input TYPE="text" NAME="Mother's Maiden Name" VALUE="" SIZE=30></td> <br>
<b>Comments:</b><br>
<textarea NAME="COMMENTS" ROWS=5 COLS=55></textarea> <br><br>
<input TYPE="submit" NAME="Submit" VALUE="Submit Form">
<input TYPE="reset" VALUE="Clear Fields">
</form>