Form.Fields.[FieldSystemName].Value

Version: - string  

Summary

Returns the current value of the field.

Settings

The value is based on the user input in frontend..

Examples

Outputting the template tag

@GetString("Form.Fields.[FieldSystemName].Value")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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