--------------------------------------------------- | Date: 2002-05-13 18:09:46 | | Filename: forms.html | | Author: iam@someoneshouse.com | | | | http://www.metalshell.com/ | --------------------------------------------------- <html> <title>Form Example for Metalshell by Snap</title> <!-- Form Example created by Snap (iam@someoneshouse.com) --> <!-- Created for Metalshell http://www.metalshell.com --> <body bgcolor="black"><font color="white"> This is an example of a form with everything you should need to send to a perl program to break it down. </font> <!--Start of Form: Replace submit.cgi with wherever you're sending this form--> <form action="submit.cgi"> <font color="white"> <!-- Text Box example --> <b>Date:</b> <input type="text" name="date" size="10"><br><br> <!-- Drop Down Box example NOTE the value they select will be whats sent--> <b>Interest:</b> <select name="interest"> <option>Magazines <option>Movies <option>Mauling <option>Manipulation </select> <BR><BR> <!--Use tables to line stuff up nice--> <!--Radio Buttons--> <table> <tr> <td valign="top"> <font color="white"> <b>Gender</b> </font> </td> <td> <font color="white"> <input type="radio" name="sex" value="Male">Male<br> <input type="radio" name="sex" value="Female">Female<br> <input type="radio" name="sex" value="NA">Perfer not to say<br> </font> </td> </tr> </table> <br><br> <!--Check Boxes example (again tables to clean up)--> <table> <tr> <td valign="top"> <font color="white"> <b>Send me information on:</b><br> </font> </td> <td> <font color="white"> <input type="checkbox" name="perl">Perl<br> <input type="checkbox" name="Cplus">C++<br> <input type="checkbox" name="HTML">HTML<br> <input type="checkbox" name="script">Scripting<br><br> </font> </td> </tr> </table> <br> <!-- The Infamous Text Box example --> <b>Comments:</b><br> <textarea name="question" rows="10" cols="40"></textarea> <br><br> <!-- Hidden field, good for passing descrete values (maintain state) --> <input type="hidden" name="Snap" value="Admin"> <!-- Submit and Reset buttons are needed in most all forms --> <input type="submit" value="Submit!">&nbsp;&nbsp;&nbsp; <input type="reset" value="Reset Form"> <!--Close tags including the form--> </font> </form> </body> </html>