Class FormSubmitViewModel
- Namespace
- Dynamicweb.Forms
- Assembly
- Dynamicweb.Forms.dll
Represents a view model for rendering a form submit and its submitted field values in a razor template.
public class FormSubmitViewModel
- Inheritance
-
FormSubmitViewModel
- Inherited Members
Properties
Date
Gets or sets the date and time of the submit.
public DateTime Date { get; set; }
Property Value
FormFieldValues
Gets or sets the submitted field values. Inactive fields and, unless requested otherwise, fields hidden in the receipt are left out.
public IEnumerable<FormSubmitFieldValueViewModel> FormFieldValues { get; set; }
Property Value
ID
Gets or sets the ID of the submit.
public int ID { get; set; }
Property Value
Ip
Gets or sets the IP address the submit was posted from.
public string? Ip { get; set; }
Property Value
SessionId
Gets or sets the ID of the session the submit was posted from.
public string? SessionId { get; set; }
Property Value
Token
Gets or sets the token used to identify the submit, e.g. in the receipt URL.
public string? Token { get; set; }