This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

HTML Coding

Using the Five Required Hidden Form Fields

Note: The HTML pages are out-of-date and will not be updated.

In order to use the email message script on the UWEC web server, two processes must be completed: adding the location of the email message script to the <FORM> tag and inserting the five required hidden form fields into the form. Hidden form fields allow form developers to pass information from a form to a script/form handler, or from one form to another, before being passed to a script/form handler. Hidden form fields are not visible to users.

This document will cover adding the five required hidden form fields to the form. This document gives descriptions, examples, and codes for the five required hidden form fields that must be put into a form in order to use the email message script.

return to topRecipient Field

Field: recipient

Description: This hidden form field specifies who will receive the email message that contains the form field information. The appropriate person's email address must be entered as the value of this hidden form field.

EXAMPLE:
<INPUT TYPE="hidden" NAME="recipient" VALUE="username1@uwec.edu, username2@uwec.edu">

NOTE: The email containing the form field information can be sent to more than one person. In the Value attribute, separate the email addresses by commas and a space.

return to topSubject Field

Field: subject

Description: This hidden form field specifies the subject of the email message containing the form results. The desired subject must be entered as the value of this hidden form field.

EXAMPLE:
<INPUT TYPE="hidden" NAME="subject" VALUE="Your Subject">

return to topTitle Field

Field: title

Description: After a user submits a form, a new web page will be displayed, showing the form field information that the user submitted. This hidden form field specifies the title of this web page, both on the page and in the top of the browser window. This title must be entered as the value of this hidden form field.

EXAMPLE:
<INPUT TYPE="hidden" NAME="title" VALUE="Your Title">

return to topReturn_link_url Field

Field: return_link_url

Description: After a user submits a form, the new web page that shows the form results that the user submitted will contain a return link at the bottom, allowing the user to link back to another web page. The URL for this link must be entered as the value of this hidden form field.

EXAMPLE:
<INPUT TYPE="hidden" NAME="return_link_url" VALUE="/yourdirectory/yourformpage.htm">

return to topReturn_link_title Field

Field: return_link_title

Description: After a user submits a form, the new web page that shows the form results that the user submitted will contain a return link at the bottom, allowing the user to link back to another web page. The value of this hidden form field specifies the text for the return link -- the text visible to the user. The text for this link must be entered as the value of this hidden form field.

EXAMPLE:
<INPUT TYPE="hidden" NAME="return_link_title" VALUE="The name of your page">

Excellence. Our Measure. Our Motto. Our Goal.