Useful global objects

Alloy.Globals.jbuss_forms_fieldgroups contains all section_fieldgroups controllers identified by their id. For example:

Alloy.Globals.jbuss_forms_fieldgroups["row1"]

 Alloy.Globals.jbuss_forms_events contains events identified by a field-id plus underscore plus event name:

  • click the click event for picker fields (that is, the event to open the picker dialog)

Example:

require id="row1" field1="date" ...
Alloy.Globals.jbuss_forms_events['row1_1_click"](); // opens the picker dialog for the date field