UserManagement:User.FormHidden
Version: - stringSummary
Renders a number of hidden fields required by Dynamicweb - e.g. for antispam (Settings > Web and HTTP > Security > Enable antispam for user creation.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("UserManagement:User.FormHidden")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.FormHidden"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.FormHidden");
}
Outputting the template tag
<!--@UserManagement:User.FormHidden-->
Check if string has a value
<!--@If Defined(@UserManagement:User.FormHidden)-->
Let's output this tag here: <strong><!--@UserManagement:User.FormHidden--></strong>
<!--@EndIf(@UserManagement:User.FormHidden)-->