Child pages
  • RuntimeForm

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381949650879

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
controller
Table Cell (td)
#controllercontroller
Get the controller of the form.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
elements
Table Cell (td)
#elementselements
Get an array with the elements in the form.
Table Row (tr)
Table Cell (td)
JSFoundSet
Table Cell (td)
#foundsetfoundset
Get the foundset of the form.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idcontroller
Table Row (tr)
idname
Table Cell (td)
controller
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the controller of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
controller
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

forms.customer.controller.enabled = !forms.customer.controller.enabled;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idelements
Table Row (tr)
idname
Table Cell (td)
elements
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get an array with the elements in the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
elements
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

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());
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idfoundset
Table Row (tr)
idname
Table Cell (td)
foundset
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the foundset of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
JSFoundSet
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.output("selected index in form foundset: " + forms.customer.foundset.getSelectedIndex());
Table Row (tr)
classlastDetailRow
Table Cell (td)