Class FormFieldViewModel
- Namespace
- Dynamicweb.Forms
- Assembly
- Dynamicweb.Forms.dll
Represents a view model for rendering form fields.
- Inheritance
-
Form
Field View Model
- Inherited Members
Properties
Active
Gets or sets a value indicating whether the form field is active.
Property Value
Append
Gets or sets the string to append to the form field value.
Property Value
AutoValue
Gets or sets the auto value of the form field.
Property Value
Color
Gets or sets the color of the form field.
Property Value
CssClass
Gets or sets the CSS class of the form field.
Property Value
DefaultValue
Gets or sets the default value of the form field.
Property Value
Description
Gets or sets the description of the form field.
Property Value
FieldOptions
Gets the collection of form field options.
Property Value
GroupId
Gets or sets the group ID of the form field.
Property Value
HideInReceipt
Gets or sets a value indicating whether the form field should be hidden in the receipt.
Property Value
HtmlId
Gets or sets the HTML ID of the form field.
Property Value
ID
Gets or sets the ID of the form field.
Property Value
Image
Gets or sets the image of the form field.
Property Value
InputPattern
Gets or sets the input pattern of the form field.
Property Value
InputType
Gets or sets the input type of the form field.
Property Value
IsButton
Gets or sets a value indicating whether the form field is a button.
Property Value
IsInput
Gets or sets a value indicating whether the form field is an input field.
Property Value
IsList
Gets or sets a value indicating whether the form field is a list field.
Property Value
IsOther
Gets or sets a value indicating whether the form field is an "Other" field.
Property Value
IsTextArea
Gets or sets a value indicating whether the form field is a textarea field.
Property Value
MaxLength
Gets or sets the maximum length of the form field value.
Property Value
Name
Gets or sets the name of the form field.
Property Value
Placeholder
Gets or sets the placeholder text of the form field.
Property Value
Prepend
Gets or sets the string to prepend to the form field value.
Property Value
Required
Gets or sets a value indicating whether the form field is required.
Property Value
Size
Gets or sets the size of the form field.
Property Value
Sort
Gets or sets the sort order of the form field.
Property Value
SystemName
Gets or sets the system name of the form field.
Property Value
Text
Gets or sets the text of the form field.
Property Value
TextAreaHeight
Gets or sets the height of the textarea form field.
Property Value
Title
Gets or sets the title of the form field.
Property Value
Type
Gets or sets the type of the form field.
Property Value
Methods
GetOptions()
Retrieves the options for the form field.
Returns
- IEnumerable<Form
Field >Option View Model The collection of form field options.
GetValue()
Retrieves the value of the form field.
Returns
- string
The value of the form field.