<form method="post" action="/cgi-bin/form2mail.pl">
<input type="hidden" name="recipient" value="webmaste@brockport.edu" />
| redirect | This is the full URL of the page the user is sent after they submit the form. |
|---|---|
| <input type="hidden" name="redirect" value="http://www.brockport.edu/its/web/faq/cgi/thankyou.html" /> Note: You will need to create the return page. |
|
| required | This designates certain fields as required. The form will not be processed unless the required fields have been completed. |
| <input type="hidden" name="required" value="name, Phone, comment" /> Note: Field names must be exact, this is case sensitive. |
|
| sort | This field will specify the order in which the form fields are printed in the e-mail body. They will not, by default, print in the order they appear in the form. value="order:name,Phone,address,etc..." to choose a specific order. If "order:..." is used, only the fields specified in sort will be transmitted, all others ignored. value="alphabetic" for alphabetic sorting |
| <input type="hidden" name="sort" value="order:name,Phone,comment" /> Note: Field names must be exact, this is case sensitive. |
|
| realname | The name of the person submitting the form. |
| <input type="text" name="realname" /> | |
| subject | The subject of the form. This will appear int he subject line of the e-mail address. |
| <input type="hidden" name="subject" value="Form Submission" /> Note: It is possible to use a text field instead of a hidden field if it is desirable to have the users to choose the subject. |
|
| The e-mail address of the person submitting the form. This will appear as the sender of the resulting e-mail. | |
| <input type="text" name="email" /> | |
| hide_blanks | If this field is contained withing your form with a value of "1" fields not filled out by the user are not printed in the body of the email message. |
| <input type="hidden" name="hide_blanks" value="1" /> | |
| additional fields | All other fields on your form will be included in the e-mail (unless hide_blanks is chosen). |
| <input type="text" name="field_one" /> |