{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 the names of all elements of the form, as an array.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#length]
Get the number of elements of the form.{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=228B542C-9DC0-4E7E-94FB-C5A0476B7C56}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_des|text=|trigger=button}{sub-section}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_des|trigger=none|class=sIndent}Get the names of all elements of the form, as an array.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_ret|text=|trigger=button}{sub-section}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_see|text=|trigger=button}{sub-section}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_see|text=|trigger=button}{sub-section}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_sam|text=|trigger=button}{sub-section}{sub-section:228B542C-9DC0-4E7E-94FB-C5A0476B7C56_sam|class=sIndent|trigger=none}{code:language=javascript}
for (var i=0; i<forms.customer.elements.allnames.length; i++)
{
var name = forms.customer.elements.allnames[i];
var elem = forms.customer.elements[name];
application.output(name + ": " + elem.getDataProviderID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DBA8402B-00B2-48F0-AF75-240CF0C48CF9}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:DBA8402B-00B2-48F0-AF75-240CF0C48CF9_des|text=|trigger=button}{sub-section}{sub-section:DBA8402B-00B2-48F0-AF75-240CF0C48CF9_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 an element of the form by its index.Get an element of the form by its name.Get the names of all elements of the form, as an array.Get the number of elements of the form.propertyservoy sDetail2100%height:30px2Property Details[index]name