<FORM METHOD="POST" ACTION="/htbin/cgi-mailto/hedonley/Visitors_Name"> Last Name: <INPUT NAME="lastname" TYPE="text" SIZE=40><BR> First Name: <INPUT NAME="firstname" TYPE="text" SIZE=40><P> <INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset" VALUE="Reset"> </FORM>
This is what the form looks like in an HTML document. Notice that ordinary HTML code can be mixed in with the special HTML forms tags.
If hedonley wants to receive email messages from the cgi-mailto program, he needs to create a file named .WWW_MAILABLE. Here are the commands that he needs to execute to create this file and to make it readable by the Web server.
$ set default disk$user:[hedonley] $ set protection=w:e [-]hedonley.dir $ create/dir [.www] $ set protection=w:e www.dir $ set default [.www] $ create/protection=w:re .www_mailable (Control-z)
Here is an example that uses all of the tags that you are likely to use.
Follow the link to The Orange Survey and then select Document Source under the View menu. Look at both of these simultaneously to see how each form element is created.