Yahoo! GeoCities
Yahoo! - Account Info - Help - Sign Out


Yahoo! Mail - Get your free @yahoo.com email address - click here

Yahoo! GeoCities
 Home 
Home > Add-Ons > Interactive >

Preview Sample Form 2
This sample form is intended to show you one example of how you can develop a form to include on your web site. To change the questions or answers, simply change the text associated with the question. If you have general questions about forms, please visit the NCSA site for a detailed tutorial.

You may follow the steps below to add the sample form to your page or view the source code of the preview sample form 2.

Step 1:  Copy this code to your clipboard or an HTML file. Using our Advanced Editor or your favorite text editor, you can modify the code in options 1 and 2.

Option 1


Option 2

<FORM METHOD=POST ACTION="/cgi-bin/homestead/mail.pl?bitchymomma_2000">

<TABLE WIDTH="600" BORDER="0" CELLSPACING="10" CELLPADDING="0">

<TR>
<TD VALIGN="TOP" ALIGN="RIGHT">
<FONT FACE="ARIAL, HELVETICA" SIZE="-1">
<B>Your first name:</B></FONT><BR>
<INPUT TYPE="text" NAME="field" SIZE="25">
</TD>
<TD VALIGN="TOP" ALIGN="LEFT">
<FONT FACE="ARIAL, HELVETICA" SIZE="-1">
<B>Your URL:</B></FONT><BR>
<INPUT TYPE="text" NAME="field" SIZE="25">
</TD>
</TR>

<TR>
<TD> </TD>
<TD> </TD>
</TR>

<TR>
<TD VALIGN="TOP" ALIGN="RIGHT">
<FONT FACE="ARIAL, HELVETICA" SIZE="-1">
<B>Would you visit my web site again?</B><BR>
Yes<INPUT TYPE="radio" NAME="visit" VALUE="Yes, I would visit again">
No<INPUT TYPE="radio" NAME="visit" VALUE="No, I wouldn't visit again">
</TD>
<TD VALIGN="TOP" ALIGN="LEFT">
<FONT FACE="ARIAL, HELVETICA"B SIZE="-1">
<B>How did you hear about my site?</B><BR>
<INPUT TYPE="radio" NAME="hear about" VALUE="Yahoo! GeoCities search">Yahoo! GeoCities search<BR>
<INPUT TYPE="radio" NAME="hear about" VALUE="Yahoo! GeoCities Neighborhoods">Yahoo! GeoCities Neighborhoods<BR>
<INPUT TYPE="radio" NAME="hear about" VALUE="A popular search engine">A popular search engine<BR>
<INPUT TYPE="radio" NAME="hear about" VALUE="Link from another site">Link from another site<BR>
<INPUT TYPE="radio" NAME="hear about" VALUE="From a friend">From a friend
</TD>
</TR>

<TR>
<TD> </TD>
<TD> </TD>
</TR>

<TR>
<TD COLSPAN="2" VALIGN="TOP" ALIGN="CENTER">
<FONT FACE="ARIAL, HELVETICA" SIZE="-1">
<B>If you have any comments or suggestions<BR>
for my site please add them below:
</B></FONT><BR>
<TEXTAREA COLS=40 ROWS=10></TEXTAREA>
<P>

<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear the form">
</TD>
<TD> </TD>
</TR>
</TABLE>

<INPUT TYPE="hidden" NAME="subject" VALUE="Survey Results">

<INPUT TYPE="hidden" NAME="next-url" VALUE="/bitchymomma_2000/index.html">
</FORM>

Option 1:  By changing the VALUE (Survey Results) you can specify the subject of the form. It will appear as the subject of the email you receive and in the body of the message. Currently it is specified as "Survey Results".

Option 2:  This is where you can specify the page that is shown after the user presses the "submit" button. For this example, it's using your index page -- "index.html". If you choose not to specify a page here, then you should omit the entire line, and the user will get a default message showing them what their email will look like.

Step 2:  If you would like to add the code to your page using the Advanced Editor, click "Go To File Manager".
  


Copyright © 2000 Yahoo! Inc. All rights reserved.
Help Privacy Policy Terms of Service Legal Disclaimers
1