Field.[FieldSystemName].Value

Version: - string  

Summary

Returns the value that is submitted by the user.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Field.[FieldSystemName].Value")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Field.[FieldSystemName].Value-->

Check if string has a value

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