ItemCreator:Edit.Item.Field.First

Version: - boolean  

Summary

Returns True if the item field is the first in the list.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("ItemCreator:Edit.Item.Field.First")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("ItemCreator:Edit.Item.Field.First"); }

Outputting the template tag

<!--@ItemCreator:Edit.Item.Field.First-->

Check if boolean has a value

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