Mailback Forms

A mailback form allows you to get user information, request feedback, take orders, comments, and suggestions.  To add a mailback form, insert the following lines into your HTML, immediately before your input variables.


<FORM ACTION="/cgi-bin/mailback.cgi" METHOD=POST  NAME="Form_Name">
<INPUT TYPE="hidden" NAME="fwd_to" VALUE="YourAddress@YourDomain.com">
<INPUT TYPE="hidden" NAME="via_html" VALUE="orderform.htm">
<INPUT TYPE="hidden" NAME="nexturl" VALUE="http://www.YourDomain.com/thankyou.htm">
<INPUT TYPE="hidden" NAME="subject" VALUE="E-Mail Subject">


  • Form Name is whatever you would like to call it.  You will need this as a reference if you want to validate your form.
  • orderform.htm (or whatever you call it) is the name of this HTML file. This line is optional.
  • thankyou.htm is a file [also optional] you create, which usually contains a custom message and links to other pages on your site. If omitted, the visitor will get a plain-vanilla "Thank You" screen, and then they must figure out how to use the "Back" button on their browser.
  • The E-Mail subject appears in your form response to help identify multiple forms.
  • You can reply directly to the person who sent the message if you create an E-Mail text box field in your form.  The name of this field must be called "Email"

Back to Web Tips