SubmitData.Value.ValueOptionText

Version: - string  

Summary

Returns text of value option of the submit data.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("SubmitData.Value.ValueOptionText")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@SubmitData.Value.ValueOptionText-->

Check if string has a value

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