Field.Value

Version: - string  

Summary

Returns the field value.

Settings

Not documented

Examples

Outputting the template tag

@GetString("Field.Value")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Field.Value"); }

Outputting the template tag

<!--@Field.Value-->

Check if string has a value

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