DWextranet_AccessUserPasswordErrorField3

Version: - string  

Summary

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).

Settings

Returns an empty string ("") if a new password is too weak (does not contain both upper- and lowercase letters, numbers and special characters), otherwise "None" is returned. The tag can be used for New passwordd prompts.
The value should be used in a style="DISPLAY: " attribute like this:

<div id="DWextranet_ErrorCode3" Style="display:@GetValue("DWextranet_AccessUserPasswordErrorField3");">The password requires numbers and a combination of upper and lower case letters and special characters</div>.

Remarks

Returns an empty string ("") if a new password is too weak (does not contain both upper- and lowercase letters, numbers and special characters), otherwise "None" is returned.
The value should be used in a style="DISPLAY: " attribute.
The tag can be used for New password prompts.

Examples

Outputting the template tag

@GetString("DWextranet_AccessUserPasswordErrorField3")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("DWextranet_AccessUserPasswordErrorField3"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("DWextranet_AccessUserPasswordErrorField3"); }

Outputting the template tag

<!--@DWextranet_AccessUserPasswordErrorField3-->

Check if string has a value

<!--@If Defined(@DWextranet_AccessUserPasswordErrorField3)--> Let's output this tag here: <strong><!--@DWextranet_AccessUserPasswordErrorField3--></strong> <!--@EndIf(@DWextranet_AccessUserPasswordErrorField3)-->