SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1101 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


n Valid: Shown when the entry has passed validation.
As with the other form validation widgets, you can 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, as shown in Figure 18-18.
FIGURE 18-18
Set a countdown counter so that your visitors will know exactly how many more characters they can add to a Spry
Validation Textarea widget.
The counter feature of the Spry Validation Textarea widget really helps with usability. However,
both the Chars Count and Chars Remaining options simply add a number without any identifying
text. To add a label to the counter, switch to code view and search for .
Place your label before this span tag, not within it.
Spry Validation Select
Select lists, also known as drop-down menus, provide the user with a number of choices to choose from.
Validating a select list typically means ensuring that the user makes a choice??”and the Spry Validation
Select widget handles this chore well. Additionally, you can even make sure the user does not select a separator
or other invalid choice.
The Spry Validation Select widget does not provide a field in the Property inspector for adding
a hint, but you can set up your first option with a blank value to achieve the same effect.


Pages:
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113