ItemCreator:Edit.Item.[ItemFieldSystemName].Description

Version: - string  

Summary

Returns the description of the item field.

Settings

The value is based on the Description field in the item field settings.

(Management Center - Item fields - Item type - Item field - Description)

Examples

Outputting the template tag

@GetString("ItemCreator:Edit.Item.[ItemFieldSystemName].Description")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemCreator:Edit.Item.[ItemFieldSystemName].Description"); }

Outputting the template tag

<!--@ItemCreator:Edit.Item.[ItemFieldSystemName].Description-->

Check if string has a value

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