{hidden}
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{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[controller]{td}{td}[#controller]
Get the controller of the form.{td}{tr}{tbody}{tbody}{tr}{td}[elements]{td}{td}[#elements]
Get an array with the elements in the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSFoundSet]{td}{td}[#foundset]
Get the foundset of the form.{td}{tr}{tbody}{table}\\
{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=controller|class=node}{tr:id=name}{td}h6.controller{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:controller_des|trigger=button|text=}{sub-section}{sub-section:controller_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:controller_snc|trigger=button|text=}{sub-section}{sub-section:controller_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:controller_prs|trigger=button|text=}{sub-section}{sub-section:controller_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:controller_ret|trigger=button|text=}{sub-section}{sub-section:controller_ret|trigger=none|class=sIndent}[controller]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:controller_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:controller_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:controller_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:controller_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:controller_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:controller_sam|trigger=none}{code:language=javascript}
Div
style
display:none
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=elements|class=node}{tr:id=name}{td}h6.elements{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:elements_des|trigger=button|text=}{sub-section}{sub-section:elements_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:elements_snc|trigger=button|text=}{sub-section}{sub-section:elements_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:elements_prs|trigger=button|text=}{sub-section}{sub-section:elements_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:elements_ret|trigger=button|text=}{sub-section}{sub-section:elements_ret|trigger=none|class=sIndent}[elements]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:elements_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:elements_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:elements_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:elements_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:elements_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:elements_sam|trigger=none}{code:language=javascript}
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());
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=foundset|class=node}{tr:id=name}{td}h6.foundset{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:foundset_des|trigger=button|text=}{sub-section}{sub-section:foundset_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:foundset_snc|trigger=button|text=}{sub-section}{sub-section:foundset_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:foundset_prs|trigger=button|text=}{sub-section}{sub-section:foundset_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:foundset_ret|trigger=button|text=}{sub-section}{sub-section:foundset_ret|trigger=none|class=sIndent}[JSFoundSet]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:foundset_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:foundset_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:foundset_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:foundset_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:foundset_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:foundset_sam|trigger=none}{code:language=javascript}