Item.[FieldSystemName].Validation.Parameters

Version: - string  

Summary

Returns string of parameters used for the field validation, related to Validation expression in the item field definition. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

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

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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