Table of Contents

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

FormViewModel

MailSubject

Gets the subject of the mail sent to the website owner.

public string? MailSubject { get; }

Property Value

string

MailText

Gets the text of the mail sent to the website owner.

public string? MailText { get; }

Property Value

string

ReceiptSenderName

Gets the sender name of the receipt mail sent to the submitter.

public string? ReceiptSenderName { get; }

Property Value

string

ReceiptSubject

Gets the subject of the receipt mail sent to the submitter.

public string? ReceiptSubject { get; }

Property Value

string

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

string

ReceiptUrl

Gets the URL of the receipt page for the submit.

public Uri ReceiptUrl { get; }

Property Value

Uri

Submit

Gets the submit, including the submitted field values.

public FormSubmitViewModel Submit { get; }

Property Value

FormSubmitViewModel
To top