|
Dreamweaver CS4 Resources |
About the Validation Password widgetThe Spry Validation Password widget is a password text field that you can use to enforce password rules (for example, number and type of characters). The widget provides warning or error messages based upon a user's input. Note: You should be familiar with Spry validation widgets before
you work with the Password widget. If you’re not familiar with them,
see Working with the Validation Text Field widget, or any of the other
validation widget overviews before proceeding. This overview does
not present all basic validation widget concepts.
The following example shows a Validation Password widget in various states: ![]()
The Validation Password widget includes a number of states (for example, valid, required, minimum number of characters, and so on). You can alter the properties of these states by editing the corresponding CSS file (SpryValidationPassword.css), depending on the desired validation results. A Validation Password widget can validate at various points—for example, when the site visitor clicks outside the text field, when they type, or when they try to submit the form.
For a more comprehensive explanation of how Validation Password widgets work, as well as additional information about widget structure, see www.adobe.com/go/learn_dw_sprypassword_en. |