Field.Height

Version: - integer  

Summary

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("Field.Height")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Field.Height"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Field.Height"); }

Outputting the template tag

<!--@Field.Height-->

Check if integer has a value

<!--@If Defined(@Field.Height)--> Let's output this tag here: <strong><!--@Field.Height--></strong> <!--@EndIf(@Field.Height)-->