Submit.ReceiptText

Version: - string  

Summary

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

Settings

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

(Page > Paragraph > Module > Receipt > Text)

Remarks

The tag i rendered in the receipt e-mail.

Examples

Outputting the template tag

@GetString("Submit.ReceiptText")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Submit.ReceiptText-->

Check if string has a value

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