{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=2B9828C4-5E83-43C0-9353-F87937788E19}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_des|text=|trigger=button}{sub-section}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_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:2B9828C4-5E83-43C0-9353-F87937788E19_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_ret|text=|trigger=button}{sub-section}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_see|text=|trigger=button}{sub-section}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_see|text=|trigger=button}{sub-section}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_sam|text=|trigger=button}{sub-section}{sub-section:2B9828C4-5E83-43C0-9353-F87937788E19_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=4C958CA2-197B-4D84-B932-108893EC344C}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_des|text=|trigger=button}{sub-section}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_des|trigger=none|class=sIndent}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClientservoy sSummary12%30%58%height: 30px;3Property SummaryGet a form by name.Get the number of forms loaded into memory.propertyservoy sDetail2100%height:30px2Property Details[name]name
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_ret|text=|trigger=button}{sub-section}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_see|text=|trigger=button}{sub-section}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_see|text=|trigger=button}{sub-section}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_sam|text=|trigger=button}{sub-section}{sub-section:4C958CA2-197B-4D84-B932-108893EC344C_sam|class=sIndent|trigger=none}{code:language=javascript}
application.output("Number of forms loaded into memory: " + forms.length);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}ret