The University of Arizona

Your checklist

Here is a list of things to do:

  • Change the FORM statement at the begining of your form, to reference the Formhandler script.
  • Create your success HTML file which will appear when the user submits a form. Include a link back to your site on this document. Reference this document in the HIDDEN INPUT statement.
  • If you are requiring some or all fields, create the necessary HIDDEN INPUT line referencing the field names which are required.
  • If you are requiring some or all fields, create the error HTML file which will appear when the user leaves off a required field. Reference this document in the HIDDEN INPUT statement.
  • Type in the subject information for email responses in a HIDDEN INPUT statement.
  • Type in the emails for people getting the email responses. There will be one or more HIDDEN INPUT statements.
  • Create the email template, giving the layout for the email message. You cannot use tabs, tables, fonts, colors or graphics in this plain ASCII text document. Reference this document in its HIDDEN INPUT statement.
  • If email is not required or is optional, add in the HIDDEN INPUT statement for email coming from nobody@ag.arizona.edu, and make changes in your form accordingly.
  • Put your files on the AgServer and try using the form. If you make yourself as the recipient of the email, you should see an email come back to you.

When you view your final form in Dreamweaver

If you look at your form in the design mode of Dreamweaver, you will probably see these yellow tabs, as are showing here:

These are visual indicators of the HIDDEN INPUT statements in your form. Since they are HIDDEN fields, Dreamweaver does not display them, but the yellow tag is a visual reminder to you that they are still there.

Get these sample files

You may find it helpful to get these files from the AgServer. Use your FTP program to go to /usr4/ecat/forms/sample/ and FTP these files to your computer. These are example files that you can play with, if you wish.

sample-new.html This is the main form itself
success.html An example of a success HTML file
error.html An example of an error HTML file
email.txt An example of an email template


This document is part of a set of tutorials related to putting a form on your website. The initial page is found at cals.arizona.edu/ecat/forms/olderforms.html