Whether you??™re gathering names, email addresses, phone numbers, or even Social Security numbers, the
text field is brought into play. Because of the wide range of types of information it is possible to enter into
the text field, it requires the most varied range of validation. The Spry Validation Text Field offers 14
different types:
n None n Phone Number
n Integer n Social Security Number
n Email Address n Currency
n Date n Real Number/Scientific Notation
n Time n URL
n Credit Card n Custom
n Zip Code
Some of the validation types??”date, time, credit card, zip code, phone number, currency, and IP address??”
include a range of formats to choose from as well, expanding the validation possibilities. Moreover, the
custom validation option opens the door for Web designers to specify any pattern of letters, numbers, and
special characters.
To insert a Spry Validation Text Field 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 Text Field.
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
desired fields.
Pages:
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105