Yahoo!
-
Geocities
-
Yahoo! Mail
-
Home
Y!GeoHelp may not support below link.
Links
Quick Login
Geocities Guidlines
Geocities Server Stautus
Suported File Types
Counter Manager
Message Boards
Page Puilder
File Manager
Geoguide Manager
Edit Pages
Home Page Settings
Add-Ons
Ez Upload
Account Info
Home Page Wizzards
Neighborhoods
Pages That Pay
.
About This Site
.
Forms Help
.
Forms are a great way to get feedback from visitors and is much
more convenient and direct than e-mail, and best of all they are easy!
First we need to start the form, we'll do this with <FORM> However <FORM> itself is useless without its sub-commands.
<FORM METHOD="POST" ACTION="/cgi-bin/homestead/mail.pl?username">
is the full command we need for a Geocities form. method="post" tells the browser that we are sending the information not getting, and action=".." tells where to send the form. Note: you will need to change username to your Geocities username. Note: if you do not have a Geocities account or your own CGI change action="" to action="mailto:your@email.addy"
Text boxes are made for one line comments. The command for text boxes is
<INPUT type="text" size=20 name="any name">
<INPUT> calls for a form item, value="text" defines what kind of form item (text is short for Text Box), size=20 is the number of characters wide the box is, name="any name" is what you name the box. name="" is important to label what is submitted. Example: if we had a text box for the question "What is your favorite color?" we'd use name="favorite color".
Area Boxes are good for long comments.
<TEXTAREA rows=3 cols=20 name="whatever"></TEXTAREA>
<TEXTAREA> that this is a large form item, rows=# and cols=# denote the number of rows and columns, name="" you already know about, and text areas need to be closed with </TEXTAREA>
Radio Buttons were designed to alow only one choice to be made of several.
<INPUT type="radio" name="all buttons" value="this button">
type="radio" says that the item is a radio button, name="" is the name of the group of buttons, and value="" is the name of the button itself. Example if you had the Question "What do you use to style you hair?" name would equal "style with" and value would equal "gel" for the gel button, "mouse" for mouse button and so on.
Checkboxes are exactly the same as Radio buttons exept that you can select more than one.
<INPUT type="checkbox" value="dunno" name="who cares">
type="checkbox" creates a checkbox, name="" and value="" act just like with Radio buttons.
Submit and Clear are standard parts of any form.
<INPUT type="submit"><INPUT type="reset">
Submit submits the form and Clear clears the form.
And Finaly
</FORM>
YOU MUST END YOUR FORM!
.
Home