Field.IsInput

Version: - boolean  

Summary

Returns True if the field is an input field - otherwise False.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Field.IsInput")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Field.IsInput"); }

Outputting the template tag

<!--@Field.IsInput-->

Check if boolean has a value

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