NewsArchive_validator

Version: - string  

Summary

Returns the validation message for the Archive checkbox.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsArchive_validator")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsArchive_validator-->

Check if string has a value

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