NewsDate_validator

Version: - string  

Summary

Returns the validation message for the Date dropdown.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsDate_validator")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsDate_validator-->

Check if string has a value

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