Validator
Version: - stringSummary
Returns the validation message for the current custom field.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Validator")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Validator"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Validator");
}
Outputting the template tag
<!--@Validator-->
Check if string has a value
<!--@If Defined(@Validator)-->
Let's output this tag here: <strong><!--@Validator--></strong>
<!--@EndIf(@Validator)-->