Operation Manual

417
USING DREAMWEAVER
Building Spry pages visually
Last updated 3/28/2012
7 Select a layout type for the radio group.
Line breaks Places each radio button on a separate line using line breaks (br tags).
Table Places each radio button on a separate line using individual table rows (tr tags).
8 Click OK.
Note: You can also insert a Radio Group widget by using the Spry category in the Insert panel.
Specify when validation occurs
You can set the point at which validation occurs—when the user clicks outside the widget, as the user makes selections,
or when the user tries to submit the form.
1 Select a Validation Radio Group widget in the Document window by clicking its blue tab.
2 In the Property inspector (Window > Properties), select the option that indicates when you want validation to
occur. You can select all of the options or Submit only.
Blur Validates whenever the user clicks outside the radio group.
Change Validates as the user makes selections.
Submit Validates when the user tries to submit the form. The submit option is selected by default, and cannot be
deselected.
Display widget states in Design view
1 Select a Validation Radio Group widget in the Document window by clicking its blue tab.
2 In the Property inspector (Window > Properties), select the state you want to see from the Preview States pop-up
menu. For example, select Initial to see the widget in its initial state.
Change required status of radio buttons
By default, Validation Radio Group widgets require the user to make a selection before submitting the form. You can,
however, make selections optional for the user.
1 Select a Validation Radio Group widget in the Document window by clicking its blue tab.
2 In the Property inspector (Window > Properties), deselect the Required option.
Specify an empty or invalid value
You can specify a value that registers as empty or invalid if the user selects a radio button that is associated with one
of those values. If the user selects a radio button with an empty value, the browser returns the error message “Please
make a selection.” If the user selects a radio button with an invalid value, the browser returns the error message “Please
select a valid value.”