ItemPublisher:Item.[ItemFieldSystemName].Validation.Type

Version: - string  

Summary

Retrurns type of validation.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemPublisher:Item.[ItemFieldSystemName].Validation.Type")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemPublisher:Item.[ItemFieldSystemName].Validation.Type"); }

Outputting the template tag

<!--@ItemPublisher:Item.[ItemFieldSystemName].Validation.Type-->

Check if string has a value

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