Form.Field.[FieldSystemName].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("Form.Field.[FieldSystemName].Color")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Form.Field.[FieldSystemName].Color"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Form.Field.[FieldSystemName].Color");
}
Outputting the template tag
<!--@Form.Field.[FieldSystemName].Color-->
Check if string has a value
<!--@If Defined(@Form.Field.[FieldSystemName].Color)-->
Let's output this tag here: <strong><!--@Form.Field.[FieldSystemName].Color--></strong>
<!--@EndIf(@Form.Field.[FieldSystemName].Color)-->