NewsText_validator

Version: - string  

Summary

Returns the validation message for the News text input field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsText_validator")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsText_validator-->

Check if string has a value

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