DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


Property Summary
controller
#_super
Provides access to the methods of the parent of this form.
Array
#alldataproviders
Get all dataproviders of the form.
Array
#allmethods
Get all script names of the form.
Array
#allnames
Get the names of all elements on the form as an array.
Array
#allrelations
Get all relation names of the form.
Array
#allvariables
Get all form variable names.
controller
#controller
Get the controller of the form.
elements
#elements
Get an array with the elements in the form.
JSFoundset
#foundset
Get the foundset of the form.

Property Details
_super
Provides access to the methods of the parent of this form.
Returns
controller
Sample
forms.customer._super.some_method();

alldataproviders
Get all dataproviders of the form.
Returns
Array
Sample
var dataprovidersNames = forms.customer.alldataproviders;
application.output("This form has " + dataprovidersNames.length + " data providers.")
for (var i=0; i<dataprovidersNames.length; i++)
	application.output(dataprovidersNames[i]);

allmethods
Get all script names of the form.
Returns
Array
Sample
var methodNames = forms.customer.allmethods;
application.output("This form has " + methodNames.length + " methods defined.")
for (var i=0; i<methodNames.length; i++)
	application.output(methodNames[i]);

allnames
Get the names of all elements on the form as an array.
Returns
Array
Sample
var names = forms.customer.allnames;
application.output("This form has " + names.length + " named items.")
for (var i=0; i<names.length; i++)
	application.output(names[i]);

allrelations
Get all relation names of the form.
Returns
Array
Sample
var relationsNames = forms.customer.allrelations;
application.output("This form has " + relationsNames.length + " relations.")
for (var i=0; i<relationsNames.length; i++)
	application.output(relationsNames[i]);

allvariables
Get all form variable names.
Returns
Array
Sample
var varNames = forms.customer.allvariables;
application.output("This form has " + varNames.length + " variables defined.")
for (var i=0; i<varNames.length; i++)
	application.output(varNames[i]);

controller
Get the controller of the form.
Returns
controller
Sample
forms.customer.controller.enabled = !forms.customer.controller.enabled;

elements
Get an array with the elements in the form.
Returns
elements
Sample
var elems = forms.customer.elements;
application.output("This form has " + elems.length + " named elements.")
for (var i=0; i<elems.length; i++)
	application.output(elems[i].getName());

foundset
Get the foundset of the form.
Returns
JSFoundset
Sample
application.output("selected index in form foundset: " + forms.customer.foundset.getSelectedIndex());