Submit.MailText

Version: - string  

Summary

Returns the text for the e-mail with the form data.

Settings

The value is based on the Text field in the paragraph module settings.

(Page > Paragraph > Module > E-mail > Text)

Remarks

The tag i rendered in the form e-mail.

Examples

Outputting the template tag

@GetString("Submit.MailText")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Submit.MailText-->

Check if string has a value

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