DWextranet_AccessUserPasswordErrorField2
Version: - stringSummary
Returns a style value that can be used to hide or show an error message for weak passwords.
Settings
The value is generated automatically based on the Complexity field in the the extended extranet security settings.
(Management settings - Control Panel - Modules - User Management - Password security - Extranet - Complexity).
Remarks
Returns an empty string ("") if a new password is too weak (does not contain both letters and numbers), otherwise "None" is returned. The tag can be used for New password prompts.
The value should be used in a style="DISPLAY: " attribute like this:
<div id="DWextranet_ErrorCode2" Style="display:@GetValue("DWextranet_AccessUserPasswordErrorField2");">The Password requires both numbers and letters.</div>
Examples
Outputting the template tag
Check if tag has a value
Assign tag to a value for later use
Outputting the template tag
Check if string has a value