Form manager's mixin for getting/setting form values in the unified manner.
This mixin adds unified access to form widgets and form elements in terms of name-value regardless of the underlying type of an element. It should be used together with dojox.form.manager.Mixin.
See the dojox/form/manager/_ValueMixin reference documentation for more information.
Set or get a form widget/element or an attached point node by name.
Parameter | Type | Description |
---|---|---|
name | String | The name. |
value | Object |
Optional Optional. The value to set. |
Collect form values.
Parameter | Type | Description |
---|---|---|
names | Object |
Optional If it is an array, it is a list of names of form elements to be collected. If it is an object, dictionary keys are names to be collected. If it is omitted, all known form elements are to be collected. |
Set values to form elements
Parameter | Type | Description |
---|---|---|
values | Object | A dictionary of key-value pairs. |
Set values to form elements