CustomField.Type
Version: - stringSummary
Returns the type of the custom field.
Settings
The value is based on the Type
field in the custom fields management of the module.
(Management Center > Modules > User Management > Edit custom fields)
Examples
Outputting the template tag
@GetString("CustomField.Type")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("CustomField.Type"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("CustomField.Type");
}
Outputting the template tag
<!--@CustomField.Type-->
Check if string has a value
<!--@If Defined(@CustomField.Type)-->
Let's output this tag here: <strong><!--@CustomField.Type--></strong>
<!--@EndIf(@CustomField.Type)-->