Field.SystemName

Version: - string  

Summary

Returns the system name of the field.

Settings

The value is based on the System name field in the Layout settings for the field.

(Modules > Forms for editors > Form > Edit field > Layout > Advanced > System name)

Examples

Outputting the template tag

@GetString("Field.SystemName")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Field.SystemName-->

Check if string has a value

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