©2000-2002 3Dize Inc. All rights reserved
Forms
What is a Form?


A form is a collection of
form elements.  Elements are individual sections of code on a page, each having specific qualities and functions.

Form elements are elements that allow the user to enter or select information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.

You are probably familiar with some of these different form elements.  If you are a registered user of Cool Page then you filled in a form when you purchased it.  Other examples are
dropdown menus and the email form used at the bottom of this page.



Put a Form on Your Page



Putting a web form on your page is a very simple process using
Cool Page.  It requires two basic things:

1. The HTML code used for the form.
2. Knowledge of the HTML Object Tool.



The HTML Object Tool


The proper use of the HTML Object Tool is covered in detail
here.  This tool is very powerful and can easily be abused.  Before you try to put a form on your page, read and study how to use the HTML Object Tool.



Forms HTML Code



If you have knowledge of HTML you can write your own forms.  If you do not know how to do that there are many resources available where you can get the needed HTML code.  Here are a few websites that have free forms:

Dynamic Drive      Java Script Source      Script Search      Google



Specialized Forms



Some forms are designed to work by utilizing programs that reside on the web server.  Examples of these types of forms are purchasing forms, web based email, guestbooks, password authentification forms etc. 

Usually, when data on such a form is submitted, it will put into effect a script that allows the web browser to "communicate" with the programs on the web server.  If you want to use this type of form then you should contact your webhost for instructions on how to access their server side programs.

Forms which submit data, will not work unless you are knowledgable about configuring your server.  This is not peculiar to Cool Page.  All forms no matter which product they are made with, require server side scripting if they must input data.



Email Form



Below is an email form that sends a message using the viewer's email program.  Insert this code using the HTML Object Tool to put a form like this on your page.

Set the HTML Object dimensions to Width=420  Height=300.
Change JOESMITH@YAHOO.COM to your email address.
CPHGuidesForms
<form action="mailto:JoeSmith@yahoo.com" method="post" enctype="text/plain">
<table border="0" cellspacing="0" cellpadding="2">
<tr><td align="right">Name: </td>
<td><input type="text" name="name" size="15"></td></tr>
<tr><td align="right">Email: </td>
<td><input type="text" name="email" size="20"></td></tr>
<tr><td align="right">Comment: </td></tr>
<tr><td colspan="2"><textarea name="comment" cols="40" wrap="virtual"
rows="10"></textarea></td></tr>
<tr><td><input type="submit" name="Submit" value="Submit"></td></tr>
</table>
</form>
Name
Subject
Message