Field.Type
Version: - stringSummary
Returns the field type.
Settings
The value is based on the Type
dropdown for a field.
(Data Lists > Forms > Form > Field > Type dropdown)
Examples
Outputting the template tag
@GetString("Field.Type")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Field.Type"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Field.Type");
}
Outputting the template tag
<!--@Field.Type-->
Check if string has a value
<!--@If Defined(@Field.Type)-->
Let's output this tag here: <strong><!--@Field.Type--></strong>
<!--@EndIf(@Field.Type)-->