Child pages
  • Forms

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{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=4185ECC1-02A7-4B36-B03F-D11D2979BD3F}{tr:id=name}{td}h6.['name']{td}{tr}{tr:id=des}{td}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_des|text=|trigger=button}{sub-section}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_des|trigger=none|class=sIndent}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy 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

[name]

dessIndent
Get a form by name.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_ret|text=|trigger=button}{sub-section}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_see|text=|trigger=button}{sub-section}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_see|text=|trigger=button}{sub-section}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_sam|text=|trigger=button}{sub-section}{sub-section:4185ECC1-02A7-4B36-B03F-D11D2979BD3F_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=4A1291FA-5C20-4901-9CC4-A8FF732C1353}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_des|text=|trigger=button}{sub-section}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_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:4A1291FA-5C20-4901-9CC4-A8FF732C1353_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_ret|text=|trigger=button}{sub-section}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_see|text=|trigger=button}{sub-section}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_see|text=|trigger=button}{sub-section}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_sam|text=|trigger=button}{sub-section}{sub-section:4A1291FA-5C20-4901-9CC4-A8FF732C1353_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=BA0781FC-678F-41E7-B635-C431EC00BA04}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_des|text=|trigger=button}{sub-section}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_des|trigger=none|class=sIndent}
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowlengthname

length

dessIndent
Get the number of forms loaded into memory.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_ret|text=|trigger=button}{sub-section}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_see|text=|trigger=button}{sub-section}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_see|text=|trigger=button}{sub-section}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_sam|text=|trigger=button}{sub-section}{sub-section:BA0781FC-678F-41E7-B635-C431EC00BA04_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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow