Documentation

Confirm Password Validator - #confirm_password {}

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.

See Also



View Source or Submit Corrections for this Documentation Page
Copyright © 2008-2024 Nitrogen Web Framework. Released under the MIT License.