Child pages
  • RuntimeForm
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


Property Summary
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
controller
Get the controller of the form.
Returns
Sample
forms.customer.controller.enabled = !forms.customer.controller.enabled;
elements
Get an array with the elements in the form.
Returns
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
Sample
application.output("selected index in form foundset: " + forms.customer.foundset.getSelectedIndex());
  • No labels