Field.Description

Version: - string  

Summary

Returns a description of the field.

Settings

The value is based on the Description input field for a field.

(Data Lists > Forms > Form > Field > Description)

Examples

Outputting the template tag

@GetString("Field.Description")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Field.Description-->

Check if string has a value

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