Field.Color
Version: - stringSummary
The color tag is used in old Forms module (same database tables and fields) - but is obsolete in Forms for editors.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Field.Color")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Field.Color"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Field.Color");
}
Outputting the template tag
<!--@Field.Color-->
Check if string has a value
<!--@If Defined(@Field.Color)-->
Let's output this tag here: <strong><!--@Field.Color--></strong>
<!--@EndIf(@Field.Color)-->