SubmitData.Value

Version: - string  

Summary

Returns value of field in the submit data.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("SubmitData.Value")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@SubmitData.Value-->

Check if string has a value

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