BaseForm.getFields

Returns the Fields object that gives access to all fields available to the form. An individual field can then be accessed using its field name as shown in the examples below.

Javascript example:

 var v1 = fields.FIELD1.value;
 var v2 = form.getFields().FIELD_2.value;
 

returns Fields