NewsActiveFrom_validator

Version: - string  

Summary

Returns the validation message for the Active from dropdowns.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsActiveFrom_validator")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsActiveFrom_validator-->

Check if string has a value

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