Class FormViewModel
- Namespace
- Dynamicweb.Forms
- Assembly
- Dynamicweb.Forms.dll
Represents a view model for rendering a form with its fields and field options in a razor template.
- Inheritance
-
Form
View Model
- Inherited Members
Constructors
FormViewModel()
Properties
CssClass
Gets or sets the CSS class of the form.
Property Value
Fields
Gets the collection of form fields.
Property Value
ID
Gets or sets the ID of the form.
Property Value
MaxSubmits
Gets or sets the maximum number of submits for the form.
Property Value
Name
Gets or sets the name of the form.
Property Value
Methods
GetSubmits()
Gets the collection of form submits.
Returns
- IEnumerable<Form
Submit >View Model The collection of form submits.