Class FormReceiptViewModel
- Namespace
- Dynamicweb.Forms
- Assembly
- Dynamicweb.Forms.dll
Represents a view model for rendering a form submit in a razor template: the confirmation shown after a submit, the mail sent to the website owner and the receipt mail sent to the submitter.
public sealed class FormReceiptViewModel : ViewModelBase
- Inheritance
-
FormReceiptViewModel
- Inherited Members
- Extension Methods
Properties
Form
Gets the form that was submitted.
public FormViewModel Form { get; }
Property Value
MailSubject
Gets the subject of the mail sent to the website owner.
public string? MailSubject { get; }
Property Value
MailText
Gets the text of the mail sent to the website owner.
public string? MailText { get; }
Property Value
ReceiptSenderName
Gets the sender name of the receipt mail sent to the submitter.
public string? ReceiptSenderName { get; }
Property Value
ReceiptSubject
Gets the subject of the receipt mail sent to the submitter.
public string? ReceiptSubject { get; }
Property Value
ReceiptText
Gets the text of the receipt mail sent to the submitter, and of the confirmation shown after the submit.
public string? ReceiptText { get; }
Property Value
ReceiptUrl
Gets the URL of the receipt page for the submit.
public Uri ReceiptUrl { get; }
Property Value
Submit
Gets the submit, including the submitted field values.
public FormSubmitViewModel Submit { get; }