ItemCreator:Edit.Item.Field.Control

Version: - string  

Summary

Returns the code for the input field for the item type (or the div class if type is list).

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemCreator:Edit.Item.Field.Control")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemCreator:Edit.Item.Field.Control"); }

Outputting the template tag

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

Check if string has a value

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