new DataForm(element, options)
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement | DOM element containing the control |
options |
Object |
- Source:
Namespaces
Members
-
groups :Array
-
Type:
- Array
- Source:
-
item :Object
-
object bound to data form
Type:
- Object
- Source:
-
messages :Array
-
Type:
- Array
- Source:
-
rules :Array
-
Type:
- Array
- Source:
-
updated :boolean
-
indicate if form has updates
Type:
- boolean
- Source:
Methods
-
cancel()
-
cancel updates on form item
- Source:
-
checkState()
-
check form state
- Source:
-
dispose()
-
release form
- Source:
-
save()
-
apply changes to source object (relevant only if using workOnCopy)
- Source:
-
validate()
-
validate form
- Source: