SubmitData.FieldID

Version: - string  

Summary

Returns ID of field used for data submit. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("SubmitData.FieldID")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@SubmitData.FieldID-->

Check if string has a value

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