DWextranet_AccessUserPasswordErrorField4
Version: - stringSummary
Returns a style value that can be used to hide or show an error message for previously used passwords.
Settings
The value is generated automatically based on the Password reuse fields in the the extended extranet security settings.
(Management settings - Control Panel - Modules - User Management - Password security - Extranet - Password reuse).
Remarks
Returns an empty string ("") if a new password has been used before (within a specifc amount time or pasword changes), otherwise "None" is returned. The tag can be used for New passwords prompts.
The value should be used in a style="DISPLAY: " attribute like this:
<div id="DWextranet_ErrorCode4" Style="display:@GetValue("DWextranet_AccessUserPasswordErrorField4");">The password has been used before and can only be used after @GetValue("DWextranet_AccessUserPasswordErrorFieldData2") times or after @GetValue("DWextranet_AccessUserPasswordErrorFieldData3") days</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