Can extract all the form widgets
values and combine them into a single javascript object, or alternately
take such an object and set the values for all the contained
form widgets
Returns name/value hash for each form element.
If there are multiple elements w/the same name, value is an array,
unless they are radio buttons in which case value is a scalar since only
one can be checked at a time.
If the name is a dot separated list (like a.b.c.d), creates a nested structure.
Only works on widget form elements.
Connects to the onChange function of all children to
track valid state changes. You can call this function
directly, ex. in the event that you programmatically
add a widget to the form *after* the form has been
initialized.
returns if the form is valid - same as isValid - but
provides a few additional (ui-specific) features.
1 - it will highlight any sub-widgets that are not
valid
2 - it will call focus() on the first invalid
sub-widget