Help&Info Contacts E-Rate School Links Events Calendar

Internet Services and Servers


Internet Services Offered
Scheduled Outages
Create Webpages
DOE Anti-Spamming Service
Webpages that are ADA Compliant
Content Filtering
Get Anti-Virus software
Software Downloads
Using Atmail
Using ListManager


WAN Support Contact
WAN/Network FAQ

Voice/Video Network
School Technology Plane Templates


Installation Schedule
Surplus Materials
Network Installation Status
Network Cabling
Installation Request Form


Requesting Help for NOSS
Services Available


Alpha Support Contact

Voice/Video Network
Voice Network (telephone)

Voice/Video Network
Video Trouble Reporting

 

Adding Forms

Adding a form to your webpage is an easy way to gather information from visitors. Forms are simple to make and are supported by almost every browser. This example will demonstrate how to have the form collect data and email the information.

1) A form begins with the tag <form> and should be followed by the action attribute. We also recommend that you include the enctype attribute so you don't get a urlencoded attachment. Instead a text message will be mailed to whomever you specify.

ex. <form action="mailto:anyone@k12.hi.us" enctype="text/plain">

or you use our script designed to take the information, check for required fields and then emails it to you by adding this:

<form method=post action="/scripts/sendforms.cgi">
<input type=hidden name="recipient" value="username@k12.hi.us">
<input type=hidden name="subject" value="Your email subject line">

<input type=hidden name="required" value="your field names here separated by commas">

2) Every form should include a submit and reset button that allows users to send the completed form or clear the entire form if necessary. The value attribute can display whatever you choose.
ex. <input type=submit value="Send this form" name="submit">
     <input type=reset value="Clear the form" name="reset">

Will display the following:

 

submit/reset | radio buttons | check boxes | text boxes | text areas
sample form code | sample form webpage


     

Copyright ©1999-2002 Department of Education Network Support Services Branch.
Links to other web sites should not be considered an endorsement.
NSSB is not responsible for the content of external web sites.
Privacy Policy.