new module:model/WebFormValues()
- Source:
Constructs a new WebFormValues.
Key-value pairs (where key is the component name and value is the form value) used to create a form instance. For key of type TextBox, Email, Date, Select and RadioButtonGroup the value is of string type. For key of type Number, the value is of number type. For key of type of CheckboxGroup, the value is of type array of string.
Extends:
- Object
Extends
- Object
Methods
(static) constructFromObject(data, obj) → {module:model/WebFormValues}
- Source:
Constructs a WebFormValues from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/WebFormValues | Optional instance to populate. |
Returns:
The populated WebFormValues instance.