UserManagement:User.EmailAllowed.Hidden.Input
Version: - stringSummary
Returns a hidden input field for the user's email permission check.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("UserManagement:User.EmailAllowed.Hidden.Input")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.EmailAllowed.Hidden.Input"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.EmailAllowed.Hidden.Input");
}
Outputting the template tag
<!--@UserManagement:User.EmailAllowed.Hidden.Input-->
Check if string has a value
<!--@If Defined(@UserManagement:User.EmailAllowed.Hidden.Input)-->
Let's output this tag here: <strong><!--@UserManagement:User.EmailAllowed.Hidden.Input--></strong>
<!--@EndIf(@UserManagement:User.EmailAllowed.Hidden.Input)-->