Item.[FieldSystemName].Validation.TypeName

Version: - string  

Summary

Retrurns type of validation.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Item.[FieldSystemName].Validation.TypeName")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Item.[FieldSystemName].Validation.TypeName"); }

Outputting the template tag

<!--@Item.[FieldSystemName].Validation.TypeName-->

Check if string has a value

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