Confirm Password Validator Element
Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About
Table of Contents
1 Confirm Password Validator - #confirmpassword {}
When asking a user to enter a password (or other value) twice, confirm that the values match.
Usage
wf:wire(ButtonID, ConfirmPasswordID, #validate { validators=[ #confirm_password { text="Passwords must match.", password=PasswordID } ]})
Attributes
- text - (string)
- The text to display if validation fails.
- password - (atom)
- Specify the Nitrogen Element ID of the Password textbox.