CodeCharge Studio

Reset Password Validation

When dealing with encrypted passwords on user maintenance forms, the original password is stored in a hidden field called "Shadow Control", while the Password field contains an arbitrary string or a blank value which should not be validated.
This action can be assigned to the On Validate event of a record form to skip the password validation process if the password value was left unchanged when editing user information.. This action should always be last if several actions are used in the On Validate event.

When the Record builder detects the password field being selected it automatically provides an option to encrypt password, which then assigns the Reset Password Validation action to the form.

Action properties:
Property Description
Password Control Name The name of the hidden control where the original password value should be copied to.
Value (optional) The value of the "Value" property from the corresponding Preserve Password action. This value will be used to check whether the submitted password was modified.

See also:


On-line, printable versions and updates