
Creating Forms
493
Inserting a radio button
Use radio buttons when the user must select only one choice from a set of options.
Radio buttons are typically used in groups. All radio buttons in a group must have
the same name and must contain different field values.
To insert radio buttons:
1
Place the insertion point inside the form outline, then do one of the following:
•
Choose Insert > Form Object > Radio Button.
•
In the Objects panel’s Forms category, click the Insert Radio Button icon
2
In the Property inspector’s RadioButton Name field, type a descriptive name
for the group of choices.
Note:
If you create multiple radio button interactions in a form, be sure each set of radio
buttons has a unique name.
3
In the Checked Value field, type the value you want sent to the server-side
application or processing script when a user selects this radio button.
For example, you might type
skiing
in the CheckedValue field to indicate
a user chose skiing.
4
For Initial State, click Checked if you want an option to appear selected when
the form first loads in the browser.
Tip:
To add additional radio buttons to the group, select the original radio button, then
Control-drag (Windows) or Option-drag (Macintosh) and change the Checked Value field
for each new button.
About lists and menus
Use an options list or menu when you want to present a user with lots of choices
in a limited space. Although you create a form list or form menu in the same
Property inspector, lists and menus provide different functionality to the user.
Use a list when you want to control the number of options displayed. You set the
list’s line height; when the number of list options exceed the line height, a scroll
bar appears, allowing users to view all the options. You can also allow users to
select multiple items in a list.
Use a menu when space is very limited. A menu displays a single-line entry, and
includes a down arrow that a user clicks to reveal the other menu choices. A user can
only choose one menu item at a time. See also, “Creating jump menus” on page 369.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...