
Creating Forms
483
Insert Checkbox
inserts a checkbox in a form. Checkboxes allow multiple
responses in a single group of options, a user can select as many options as apply.
Insert Radio Button
inserts a radio button in a form. Radio buttons represent
exclusive choices. Selecting a button within a group deselects all others in the
group, for example a user can select Yes or No.
Insert List/menus
allows you to create user choices in a list. The List option
displays the option values in a scrolling list and allows users to select multiple
options in the list. The Menu option displays the option values in a drop-down
list and allows users to select only a single choice.
Insert File field
inserts a blank text field and a Browse button in a document. File
fields let users browse to files on their hard disks and upload the files as form data.
Insert Image Field
allows you to insert an image in a form. Image fields can be
used in place of Submit buttons to make graphical buttons.
Insert Hidden field
inserts a field in the document in which user data can be
stored. Hidden fields let you store information entered by a user, such as a
name, e-mail address, or purchase preference, and then use that data when the
user next visits your site.
Insert Jump Menu
inserts a navigational list or pop-up menu. Jump menus let you
insert a menu in which each option links to a document or file. See “Creating
jump menus” on page 369.
Creating a form
A form contains properties that are invisible to the user. The properties specify
how the form will be processed
A form consists of three basic parts:
•
form
tags, which include the URL of the CGI script that will process the form,
and the method in which the data will be sent to a server
•
Form fields, which include text fields, menus, checkboxes, or radio buttons
•
Submit button, which sends the data to the CGI script on the server
Note:
If you attempt to insert a form object without first creating the form, you’ll get a
Dreamweaver message “Add form tags?” Choose Yes to have Dreamweaver create form
tags for the object.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...