| CONVERT E-MAILED FORMS TO MAILTO.JSP |
This page provides instructions for converting forms that use the form.cgi or mailto.cgi to mailto.jsp.
- Edit your form file and replace references to any of the following:
<form action="http://www.mis2.udel.edu/cgis/mailto.cgi">
<form action="http://www.mis4.udel.edu/cgis/mailto.cgi">
<form action="http://www.mis2.udel.edu/cgis/form.cgi">
<form action="http://128.175.60.91/cgis/form.cgi">
with
<form action="http://chico.nss.udel.edu/mailto/mailto">
- If your form does not already contain these hidden fields, add those that are missing. The new mailto program requires
a "replyto" value, which shows as the Reply-to field in the e-mail message header.
<INPUT TYPE="hidden" NAME="mailto" VALUE="name@udel.edu">
<INPUT TYPE="hidden" NAME="replyto" VALUE="name@udel.edu">
- If your form does not already contain a reply field, add it. This hidden field directs your customers to a response after
they submit your form. The value can contain a simple message, as shown below, or a url.
<input type=hidden name="reply" value="<h2>Thank you, your form has been sent.</h2>">
- The mailto program also requires you create one new page that contains a template of what the e-mail results will look like. Include
the hidden field below to reference the location of this template file. The template should contain field descriptions
and input field tags that match the field names from your form, and it may contain additional text.
An example may be found at http://www.udel.edu/ideacenter/howto/contactus-form-results.html.
<input type=hidden name="html_source" value="http://www.udel.edu/ideacenter/howto/contactus-form-results.html">
- TEST YOUR FORM after you make these changes.
- If you have a need to save your form data to a database in addition to or in lieu of e-mail the results,
contact Information Technologies for information
about using the Forms Data Processor.
|
|
|