Submit.MailSubject
Version: - stringSummary
Returns the subject for the e-mail with the form data.
Settings
The value is based on the subject field in the paragraph module settings.
(Page > Paragraph > Module > E-mail > Subject)
Remarks
The tag i rendered in the form e-mail.
Examples
Outputting the template tag
@GetString("Submit.MailSubject")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Submit.MailSubject"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Submit.MailSubject");
}
Outputting the template tag
<!--@Submit.MailSubject-->
Check if string has a value
<!--@If Defined(@Submit.MailSubject)-->
Let's output this tag here: <strong><!--@Submit.MailSubject--></strong>
<!--@EndIf(@Submit.MailSubject)-->