ui.Dialog.getForm
Returns the current form used by the dialog.
Syntax
getForm()
RETURNS ui.Form Usage
The getForm() method returns a ui.Form object as a handle to
the current form used by the dialog.
Use
this form object to modify elements of the current form. For example,
you can hide some parts of the form with the ui.Form.setElementHidden() method.