
412
ADOBE GOLIVE CS2
User Guide
To set up the form element
The form element tells the browser where and how to return form information for processing. If you are using a table
to organize the form elements, be sure to put the table inside the form element’s box.
1
Drag the Form icon from the Forms set in the objects toolbox to the document window.
2
In the Form Inspector, choose an option from the Name/ID menu (choose Name & ID for maximum browser
compatibility), and then type a unique form name in the Name/ID box.
3
Select Action, and then specify the URL of the web server script that will process the form information when the
viewer clicks the Submit button.
4
If your form is embedded in a frame set and you want to control where the HTML page returned by the web server
appears, choose a target location from the Target menu.
5
Select an encoding method from the Encode pop-up menu:
Default and Application/x-www-form-url-encoded
Use the ASCII character set. These two methods are the same.
Multipart/form-data
Tells the server where the files begin and end.
Text/plain
Sends the form data as plain text.
6
In the Method menu, choose the form delivery method:
Post
Returns data entered by the viewer information separately from the web page.
Get
Sends the viewer’s entries appended to the URL in the Action box.
Default
Omits the Method attribute.
Note:
Get appends the form information to the destination file and may exceed the URL length limit, causing the server
to lose information from the form.
Adding form elements
Types of form buttons and check boxes
You can set up several types of buttons and check boxes on your web page form.
Submit buttons
Send data entered in the form to the CGI script for processing.
Reset buttons
Clear the current form data, resetting the form to its default values.
Radio buttons
Let viewers select one item from a list. To make sure that a list of radio buttons works properly, make
sure that each button shares the same Group name.
Buttons
Can function like a Reset or Submit button, or perform a custom action that you create. You can use an
image for the button label.
Check boxes
Let the viewer select one or more items from a list of options.
See also
“To insert a label” on page 415
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...