Creating Forms > About form objects

 

About form objects

In Dreamweaver, form input types are called form objects. You can insert form objects by using the Objects panel's Forms category, or by choosing Insert > Form, and Insert > Form Objects.

The Forms category provides the following buttons:

Insert Form inserts a form in the document. Dreamweaver inserts opening and closing form tags in the HTML source code. Any additional form objects, such as text fields, buttons, and so on must be inserted between the form tags for the data to be processed correctly by all browsers.

Insert Text Field inserts a text field in a form. Text fields accept any type of text, alphabetic, or numeric entries. The entered text can be displayed as a single line, as multiple lines, or as bullets or asterisks (for password protection).

Insert Button inserts a text button in a form. Buttons perform tasks when clicked, such as submitting or resetting forms. You can add a custom name or label for a button, or use one of the predefined labels—Submit or Reset.

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.