UserManagement:User.Item.Field.Option.Label
Version: - stringSummary
Returns the label of the option.
Settings
The value is based on the label of the option.
(Management Center - Item Types - [Item Type] - Field - Options - Label)
Examples
Outputting the template tag
@GetString("UserManagement:User.Item.Field.Option.Label")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Item.Field.Option.Label"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.Item.Field.Option.Label");
}
Outputting the template tag
<!--@UserManagement:User.Item.Field.Option.Label-->
Check if string has a value
<!--@If Defined(@UserManagement:User.Item.Field.Option.Label)-->
Let's output this tag here: <strong><!--@UserManagement:User.Item.Field.Option.Label--></strong>
<!--@EndIf(@UserManagement:User.Item.Field.Option.Label)-->