Austin Community College - Start Here. Get There.Welcome to Austin Community College
Enlarge TextReduce TextPrinter Friendly
Web Development
ApplyScheduleRegister
Austin Community College
5930 Middle Fiskville Rd.
Austin, Texas 78752-4390
512.223.4ACC (4222)
Creating Webforms with Formmail

Creating forms on the web can be difficult and time consuming. Here is an example of a simple contact and feedback form that you can copy and paste into your webpage. Taking this example and editing it will save you time and effort.

HTML of this form














A Selection Question Goes Here





An Option Question Goes Here:







Copy, paste, and edit this form code to create a form that fits your needs!

<form action="http://www.austincc.edu/cgi-bin/formmail.pl" method="post">
<input type=hidden name="subject" value="Form Template">
<!-- This is the subject of the email-->

<input name=recipient type=hidden value="email@austincc.edu, ">
<!--This is the email that the form is delivered to. -->

<input type=hidden name="return_link_title" value="return to form selection">


<label for="firstname">First Name :</label><br /><input id="firstname" type="text" name="firstname"><br /><br />
<label for="lastname">Last Name :</label><br /><input id="lastname" type="text" name="lastname"><br /><br />
<label for="email">Email :</label><br /><input id="email" type="text" name="email"><br /><br />
<label for="phone">Phone :</label><br /><input id="phone" type="text" name="phone"><br /><br />
<!--Add or take away fields in this format-->


<fieldset>
<legend>
A Selection Question Goes Here</legend>
<br />
<input id="option1" type="radio" name="option1" value="Yes">
<label for="option1">Option 1</label><br />
<input id="option2" type="radio" name="option2" value="Yes">
<label for="option1">Option 2</label><br />
<input id="option3" type="radio" name="option3" value="Yes">
<label for="option3">Option 3</label><br />
</fieldset>
<!--Add or take away fields in this format-->

<br />
<label for="comments">Comments:</label><br>
<textarea id="comments" name="comments" rows="5" cols="20"></textarea>


<fieldset>
<legend>An Option Question Goes Here:</legend><br>
<input id="checkbox1" type="checkbox" name="option1" value="Yes"> <label for="checkbox1">Option 1</label><br>
<input id="checkbox2" type="checkbox" name="option2" value="Yes"> <label for="checkbox2">Option 2</label><br>
<input id="checkbox3" type="checkbox" name="option3" value="Yes"> <label for="checkbox3">Option 3</label><br>
</fieldset>
<!--Add or take away fields in this format-->

<br />
<label for="dropmenu">Choose an Option:</label>
<select id="dropmenu" name="dropmenu">
<option value="1" selected>Option 1</option>
<option value="3">Option 2</option>
<option value="4">Option 3</option>
<option value="5">Option 4</option>
<option value="2">Option 5</option>
<option value="6">Option 6</option>
<option value="7">Option 7</option>
<option value="8">Option 8</option>
<option value="9">Option 9</option>
<option value="10">Option 10</option>
</select>
<br /><br />
<!--Add or take away fields in this format-->

<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
<input type=hidden name="redirect" value="http://www.austincc.edu/">
<!--This is the webpage in which users see after form is submitted-->

</form>

Future StudentsCurrent StudentsFaculty and StaffCommunity and BusinessNewsroomA-Z Index