NewsHeading_validator

Version: - string  

Summary

Returns the validation message for the Heading input field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsHeading_validator")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("NewsHeading_validator"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("NewsHeading_validator"); }

Outputting the template tag

<!--@NewsHeading_validator-->

Check if string has a value

<!--@If Defined(@NewsHeading_validator)--> Let's output this tag here: <strong><!--@NewsHeading_validator--></strong> <!--@EndIf(@NewsHeading_validator)-->