
691
Powering Ajax Pages with Spry
17
The Spry Validation Radio Group dialog box appears (Figure 17-26).
FIGURE 17-26
Add as many radio buttons as needed in the Spry Validation Radio Group.
3. In the Name text box, replace the default name with a meaningful name for your new set of
radio buttons.
4. Each entry in the list represents a separate radio button in the group; the dialog box opens
with two filler buttons as an example. Click the first entry in the Label list and replace the
word Radio with the label for the first button in your group. Press Tab to move to the Value
column, and replace the default with the appropriate value for your button; this is the data
that is sent to the server when the radio button is selected.
Repeat this step for the second radio button in your set.
5. If you have more than two radio buttons in your set, click the Add (+) button to add
another item to the list and fill out the appropriate value, as explained in step 2.
6. Specify whether you want your radio buttons inserted on separate lines using the <br> tag,
or automatically formatted in a table.
7. Click OK.
8. From the Spry Confirm Property inspector, choose whether the field should be required by
setting or clearing the Required checkbox.
9. If you want the form field to check the validation prior to submitting the form, select the
Validate On Blur or Change options.
10. If you wan ...