Form.Fields.[FieldSystemName].Height
Version: - integerSummary
Returns the height of the field in frontend.
Settings
The value is based on the Height
input field for a field.
(Data Lists > Forms > Form > Field > General tab > Height)
Examples
Outputting the template tag
@GetInteger("Form.Fields.[FieldSystemName].Height")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Form.Fields.[FieldSystemName].Height"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Form.Fields.[FieldSystemName].Height");
}
Outputting the template tag
<!--@Form.Fields.[FieldSystemName].Height-->
Check if integer has a value
<!--@If Defined(@Form.Fields.[FieldSystemName].Height)-->
Let's output this tag here: <strong><!--@Form.Fields.[FieldSystemName].Height--></strong>
<!--@EndIf(@Form.Fields.[FieldSystemName].Height)-->