Form.Fields.[FieldSystemName].Description

Version: - string  

Summary

Returns the 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("Form.Fields.[FieldSystemName].Description")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Form.Fields.[FieldSystemName].Description"); }

Outputting the template tag

<!--@Form.Fields.[FieldSystemName].Description-->

Check if string has a value

<!--@If Defined(@Form.Fields.[FieldSystemName].Description)--> Let's output this tag here: <strong><!--@Form.Fields.[FieldSystemName].Description--></strong> <!--@EndIf(@Form.Fields.[FieldSystemName].Description)-->