<html> <head><title>Example Form 2</title></head> <body bgcolor="#3c8484"> <center> <img src="/tools/enhance/form_emailer_help/example2/dctitle.gif" border=0> </center>
<form action="/cgi-bin/cgiemail" method="post">
<!-- HTML Template used for the page after successful submission --> <input type="hidden" name="cgiemail_html" value="thank_you.html"> <!-- HTML Template used in case an error occurs --> <input type="hidden" name="cgiemail_error" value="error.html"> <!-- Customized Error message for bad Email addresses --> <input type="hidden" name="cgiemail_invalid" value="You typed your email wrong."> <!-- Sent this email to webmaster --> <input type="hidden" name="cgiemail_username" value="webmaster"> <!-- The Subject line in the email --> <input type="hidden" name="cgiemail_subject" value="WEB SITE SURVEY SUBMISSION"> <!-- The order in which to show the values in the body of the email --> <input type="hidden" name="cgiemail_order" value="TIME:full_name:company:email:color:interests:music:comments"> <!-- I prefer the date for this email to be sent in Pacific Standard Time --> <input type="hidden" name="cgiemail_timezone" value="PST"> <!-- TIME Shown in the form "Wednesday, February 17, 1999 18:46:41" --> <input type="hidden" name="cgiemail_timeformat" value="%A, %B %e, %Y %T"> <!-- Delimitor to be used for the "interests" variable below --> <input type="hidden" name="delim_interests" value=","> <!-- Delimitor to be used for the "color" variable below --> <input type="hidden" name="delim_color" value=","> <!-- Delimitor to be used for the "music" variable below --> <input type="hidden" name="delim_music" value=","> <!-- Fields that must be submitted --> <input type="hidden" name="cgiemail_required" value="full_name:Please supply your full name."> <input type="hidden" name="cgiemail_required" value="email:You forgot to put your email address."> <input type="hidden" name="cgiemail_required" value="color:You must choose the color you like most!">
<table border=1><tr> <td><b>Full Name:</b></td><td><input name="full_name"></td></tr><tr> <td><b>Company:</b></td><td><input name="company"></td> </tr><tr><td><b>Email:</b></td><td><input name="email"></td>
</tr><tr><td><b>Interests:</b></td><td>
<input type="checkbox" name="interests" value="Sports">Sports<br> <input type="checkbox" name="interests" value="TV">TV<br> <input type="checkbox" name="interests" value="Dancing">Dancing<br> <input type="checkbox" name="interests" value="Fishing">Fishing<br> <input type="checkbox" name="interests" value="Internet">Internet<br>
</td></tr><tr><td><b>Favorite Color:</b></td><td>
<select name="color"> <option value="">---CHOOSE---</option> <option value="red">red</option> <option value="yellow">yellow</option> <option value="blue">blue</option> <option value="green">green</option> <option value="orange">orange</option> <option value="purple">purple</option> <option value="pink">pink</option> <option value="black">black</option> <option value="white">white</option> </select>
</td></tr><tr><td><b>Music Listened To:</b></td><td>
<select multiple name="music" size="3"> <option value="Classical">Classical</option> <option value="Rock">Rock</option> <option value="Pop">Pop</option> <option value="Jazz">Jazz</option> <option value="Voice">Voice</option> </select>
</td></tr><tr><td> <b>Additional Comments:</b></td><td> <textarea rows="3" cols="60" name="comments"></textarea></td></tr><tr><td colspan="2"> <input type="submit" value="Done"> </td></tr></table>
</form>
</body></html>