{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}[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=3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_des|text=|trigger=button}{sub-section}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_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:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_ret|text=|trigger=button}{sub-section}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_see|text=|trigger=button}{sub-section}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_see|text=|trigger=button}{sub-section}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_sam|text=|trigger=button}{sub-section}{sub-section:3C53EB95-4CF7-4ECA-80BA-25BFAF44D0EB_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.
var allForms = solutionModel.getForms();
application.output("There are " +
allFormNames
allForms.length + " forms.");
for (var i=0;
i<allFormNames
i<allForms.length; i++)
{
var f = forms[
allFormNames
allForms[i].name];
application.output("Form " +
allFormNames
allForms[i].name + " has selected index " + f.controller.getSelectedIndex());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4A5475BC-57BA-4380-A4B2-C3DA72507FDD}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_des|text=|trigger=button}{sub-section}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_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:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_ret|text=|trigger=button}{sub-section}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_see|text=|trigger=button}{sub-section}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_see|text=|trigger=button}{sub-section}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_sam|text=|trigger=button}{sub-section}{sub-section:4A5475BC-57BA-4380-A4B2-C3DA72507FDD_sam|class=sIndent|trigger=none}{code:language=javascript}