Submit.EmailFieldValue

Version: - string  

Summary

Returns the value from the field that is selected as email field.

Settings

The value is generated automatically.

Remarks

The email field is defined in the form settings.

Examples

Outputting the template tag

@GetString("Submit.EmailFieldValue")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Submit.EmailFieldValue"); }

Outputting the template tag

<!--@Submit.EmailFieldValue-->

Check if string has a value

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