{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:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#['name']]
Get a form by name.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#allnames]
Get all form names of the current solution.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#length]
Get the number of forms loaded into memory.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=27387160-ADCA-4EB5-9273-A5B0CA131024}{tr:id=name}{td}h6.['name']{td}{tr}{tr:id=des}{td}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_des|text=|trigger=button}{sub-section}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_des|trigger=none|class=sIndent}Get a form by name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_ret|text=|trigger=button}{sub-section}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_see|text=|trigger=button}{sub-section}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_see|text=|trigger=button}{sub-section}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_sam|text=|trigger=button}{sub-section}{sub-section:27387160-ADCA-4EB5-9273-A5B0CA131024_sam|class=sIndent|trigger=none}{code:language=javascript}
var allFormNames = forms.allnames
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.
}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_des|text=|trigger=button}{sub-section}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_des|trigger=none|class=sIndent}Get all form names of the current solution.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:035C0092-338F-45A2-AB81-C500313AD734_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:035C0092-338F-45A2-AB81-C500313AD734_ret|text=|trigger=button}{sub-section}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:035C0092-338F-45A2-AB81-C500313AD734_see|text=|trigger=button}{sub-section}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:035C0092-338F-45A2-AB81-C500313AD734_see|text=|trigger=button}{sub-section}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:035C0092-338F-45A2-AB81-C500313AD734_sam|text=|trigger=button}{sub-section}{sub-section:035C0092-338F-45A2-AB81-C500313AD734_sam|class=sIndent|trigger=none}{code:language=javascript}
var allFormNames = forms.allnames;
application.output("There are " + allFormNames.length + " forms.");
for (var i=0; i<allFormNames.length;
i+
+
)
{
var f = forms[allFormNames[i]];
application.output(
"
Form
" + allFormNames[i] + "
has selected index " + f.controller.getSelectedIndex());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4252A9F9-231D-4C3B-B600-9A582BE5AA30}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_des|text=|trigger=button}{sub-section}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_des|trigger=none|class=sIndent}Get the number of forms loaded into memory.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_ret|text=|trigger=button}{sub-section}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_see|text=|trigger=button}{sub-section}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_see|text=|trigger=button}{sub-section}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_sam|text=|trigger=button}{sub-section}{sub-section:4252A9F9-231D-4C3B-B600-9A582BE5AA30_sam|class=sIndent|trigger=none}{code:language=javascript}