7. If you chose the Enforce Range option, enter either the minimum number of choices in the Min. #
of Selection field or the maximum number in the Max. # of Selections field, or both.
621
Powering Ajax Pages with Spry 18
When you save your file the first time after adding a Spry Validation Checkbox widget,
Dreamweaver will notify you of the supporting files: SpryValidationCheckbox.css and
SpryValidationCheckbox.js.
Depending on your Property inspector settings, the Spry Validation Checkbox widget provides up to four
different states:
n Initial: The default state of the text field.
n Required: Displays an error message if the Required option has been selected and the checkbox is
unchecked.
n Min. # of Selections Not Met: Displays an error message if the Enforce Range option has been
selected and the current number of selected checkboxes is less than the minimum specified.
n Max. # of Selections Exceeded: Displays an error message if the Enforce Range option has been
selected and the current number of selected checkboxes is more than the maximum specified.
As with the other form validation widgets, you switch from one state to another by selecting a different
entry from the Preview States list in the Property inspector. This action exposes the possible error messages
and CSS stylings for each state so you can modify them if desired.
Pages:
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117