Rick's Welcomes You

How To Do Forms

{- BACK -}

      Mailto: forms offer a way to use forms on your pages without CGI scripts. The results are E-mailed to your E-mail account. Applications for mailto forms include guest books, questionnaires, feedback, and on-line shopping. In the examples, each form module is shown with the corresponding HTML code directly above.

Declaring the form:

<FORM METHOD=POST ACTION="mailto: username@your..com">

Here are some simple forms examples...

<form method="POST" action="mailto:username@your.com">
<INPUT NAME="name"> Name <BR>
<INPUT NAME="email"> E-mail Address <BR>
Select <INPUT TYPE="submit" VALUE="Submit"> to send name.
Select <INPUT TYPE="reset" VALUE="Reset"> to clear entries.
</FORM>

Name
E-mail Address
Select to send the name. Select to clear entries.


Line Bar

Please enter your e-mail address....


Optional Personal Data: Male Female Other Married Single Divorced Enter Shoe Size: 6E 7C 9D 13E What name do you answer to: Hey Dude Cutie Yo Redneck

Line Bar

Check Boxes or Radio Buttons

<INPUT TYPE="checkbox" NAME="w95" VALUE="CHECKED"> Win 95<BR>
<INPUT TYPE="checkbox" NAME="w31" VALUE="CHECKED"> Win 3.11<BR>
<INPUT TYPE="checkbox" NAME="unix" VALUE="CHECKED"> UNIX<BR>
<INPUT TYPE="checkbox" NAME="garb" VALUE="CHECKED"> Garbage<BR>

Win 95
Win 3.11
UNIX
Garbage

<INPUT TYPE="radio" NAME="heading of button" VALUE="button name">
Pentium
486
Timex

Line Bar

Scrolling Lists or Pull-down Lists


<SELECT NAME="Choice">
<OPTION>Outstanding <OPTION>Excellent
<OPTION>Above Average <OPTION>Average
<OPTION>Below Average <Option>Marginal
<OPTION>Unacceptable </SELECT>



<SELECT NAME="Choice">
<OPTION>Outstanding <OPTION>Excellent
<OPTION>Above Average <OPTION>Average
<OPTION>Below Average <OPTION>Marginal
<OPTION>Unacceptable </SELECT></FORM>

Line Bar

Blank text areas:

<FORM METHOD="POST" ACTION="mailto:babeard@gte.net">
Please enter your message below:
<textarea Name="comments" Rows=5 Cols=65></textarea><P>
<input type="submit" value="Send">
<input type="reset" value="Cancel"> </form>

Please enter your message below:

Line Bar

Preformatted text areas:

<FORM METHOD="POST" ACTION="mailto:bigwind@his.com">
<TEXTAREA NAME="comment" ROWS=4 COLS=50> Stop wasting money!</TEXTAREA>
<input type="submit" value="Mail it"></FORM>


Handy for bugging your congressman:

Line Bar

Text input boxes can be empty or preformatted:

<INPUT TYPE="account" NAME="account" SIZE="10"> Please enter your account number<BR>
<INPUT TYPE="text" NAME="name" SIZE="15" VALUE="Your Name"> Please enter your name:<BR>

Please enter our account number: Please enter your name:

Line Bar

Send and Reset Buttons:

<INPUT TYPE="submit" VALUE="SEND FORM">
<INPUT TYPE="reset" VALUE="RESET"> </FORM>


{- BACK -}

 

Last modified: July 01, 2001
Comments: rickshelp@telus.net
Copyright © 1997-98 Rick's Web Page Help!

 

Click the Rose for Email

rickshelp@shaw.ca rickshelp@rickshelp.com

Click the Rose for Email