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 1099 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


To insert a Spry Validation Textarea widget, follow these steps:
1. Place your cursor where you??™d like your text field to appear.
2. From the Spry or Forms categories of the Insert bar, choose Spry Validation Textarea.
3. If your Dreamweaver Preferences are set to display the accessibility attributes for form fields, the
Input Form Accessibility Attributes dialog is displayed; click OK after you??™ve completed the
appropriate fields.
4. If your cursor is not within a
tag, Dreamweaver asks if you??™d like to add one; click Yes.
5. From the Spry Textarea Property inspector (see Figure 18-17), choose whether the field should be
required or not by setting or clearing the Required checkbox.
FIGURE 18-17
Limit the number of characters??”minimum, maximum, or both??”with the Spry Validation
Textarea widget.
6. If you want the form field to check the validation prior to submitting the form, select the Validate
On Blur or Change options.
7. If you want to restrict the number of characters enter, set the minimum and/or maximum number
of characters in the Min Chars and Max Chars fields, respectively.
8. To add a counter showing the number of characters entered into the field, select the Counter:
Chars Count option; to add a counter showing the number of characters that can still be entered,
select the Counter: Chars Remaining option.


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