SubmitData.Fieldname

Version: - string  

Summary

Returns field name related to submit data. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("SubmitData.Fieldname")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("SubmitData.Fieldname"); }

Outputting the template tag

<!--@SubmitData.Fieldname-->

Check if string has a value

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