Submit.ReceiptSubject

Version: - string  

Summary

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

Settings

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

(Page > Paragraph > Module > Receipt - Subject)

Remarks

The tag i rendered in the receipt e-mail.

Examples

Outputting the template tag

@GetString("Submit.ReceiptSubject")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Submit.ReceiptSubject-->

Check if string has a value

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