Child pages
  • RuntimeForm

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{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}[#alldataproviders]
Get all dataproviders of the form.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#allmethods]
Get all script names of the form.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#allnames]
Get the names of all elements on the form as an array.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#allrelations]
Get all relation names of the form.{td}{tr}{tbody}{tbody}{tr}{td}[Array]{td}{td}[#allvariables]
Get all form variable names.{td}{tr}{tbody}{tbody}{tr}{td}[controller]{td}{td}[#controller]
Get the controller of the form.{td}{tr}{tbody}{tbody}{tr}{td}[elements]{td}{td}[#elements]
Get an array with the elements in the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSFoundset]{td}{td}[#foundset]
Get the foundset 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=790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884}{tr:id=name}{td}h6.alldataproviders{td}{tr}{tr:id=des}{td}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_des|text=|trigger=button}{sub-section}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_des|trigger=none|class=sIndent}Get all dataproviders of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_ret|text=|trigger=button}{sub-section}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_see|text=|trigger=button}{sub-section}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_see|text=|trigger=button}{sub-section}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_sam|text=|trigger=button}{sub-section}{sub-section:790A71B96D693EC3-CFC074D6-4DE74726-98D8AEFE-8565590D660F309C8FBE5884_sam|class=sIndent|trigger=none}{code:language=javascript}
var dataprovidersNames = forms.customer.alldataproviders;
application.output("This form has " + dataprovidersNames.length + " data providers.")
for (var i=0; i<dataprovidersNames.length; i++)
	application.output(dataprovidersNames[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83}{tr:id=name}{td}h6.allmethods{td}{tr}{tr:id=des}{td}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_des|text=|trigger=button}{sub-section}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_des|trigger=none|class=sIndent}Get all script names of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_ret|text=|trigger=button}{sub-section}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_see|text=|trigger=button}{sub-section}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_see|text=|trigger=button}{sub-section}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_sam|text=|trigger=button}{sub-section}{sub-section:370EFF3B54EFBE36-DC97D4C8-465440F8-BDE0828F-67B384DCB0BCB94DC2E2DB83_sam|class=sIndent|trigger=none}{code:language=javascript}
var methodNames = forms.customer.allmethods;
application.output("This form has " + methodNames.length + " methods defined.")
for (var i=0; i<methodNames.length; i++)
	application.output(methodNames[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_des|text=|trigger=button}{sub-section}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_des|trigger=none|class=sIndent}Get the names of all elements on the form as an array.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_ret|text=|trigger=button}{sub-section}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_see|text=|trigger=button}{sub-section}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_see|text=|trigger=button}{sub-section}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_sam|text=|trigger=button}{sub-section}{sub-section:C376DC078868B036-BB4BFFFA-4FC54EB3-9370B4AF-811AFAE473F31D68A770BF9E_sam|class=sIndent|trigger=none}{code:language=javascript}
var names = forms.customer.allnames;
application.output("This form has " + names.length + " named items.")
for (var i=0; i<names.length; i++)
	application.output(names[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4}{tr:id=name}{td}h6.allrelations{td}{tr}{tr:id=des}{td}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_des|text=|trigger=button}{sub-section}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_des|trigger=none|class=sIndent}Get all relation names of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_ret|text=|trigger=button}{sub-section}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_see|text=|trigger=button}{sub-section}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_see|text=|trigger=button}{sub-section}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_sam|text=|trigger=button}{sub-section}{sub-section:DE6AF74D668FCE5C-DBE8595B-4A1D49D6-8B96921E-E1423608D56A4BCD3C53FBD4_sam|class=sIndent|trigger=none}{code:language=javascript}
var relationsNames = forms.customer.allrelations;
application.output("This form has " + relationsNames.length + " relations.")
for (var i=0; i<relationsNames.length; i++)
	application.output(relationsNames[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59}{tr:id=name}{td}h6.allvariables{td}{tr}{tr:id=des}{td}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_des|text=|trigger=button}{sub-section}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_des|trigger=none|class=sIndent}Get all form variable names.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_ret|text=|trigger=button}{sub-section}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_see|text=|trigger=button}{sub-section}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_see|text=|trigger=button}{sub-section}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_sam|text=|trigger=button}{sub-section}{sub-section:FA6D897DEBFA5CFA-C2E9AEED-4472443E-B30C9FFC-4761E70ACAB72A936649ED59_sam|class=sIndent|trigger=none}{code:language=javascript}
var varNames = forms.customer.allvariables;
application.output("This form has " + varNames.length + " variables defined.")
for (var i=0; i<varNames.length; i++)
	application.output(varNames[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251}{tr:id=name}{td}h6.controller{td}{tr}{tr:id=des}{td}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_des|text=|trigger=button}{sub-section}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_des|trigger=none|class=sIndent}Get the controller of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_ret|text=|trigger=button}{sub-section}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_ret|trigger=none|class=sIndent}[controller]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_see|text=|trigger=button}{sub-section}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_see|text=|trigger=button}{sub-section}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_sam|text=|trigger=button}{sub-section}{sub-section:8D421DBB8FFC9BD5-E70D413D-4B70448C-A3F4B333-17B4C8E9BC8569476C77D251_sam|class=sIndent|trigger=none}{code:language=javascript}
forms.customer.controller.enabled = !forms.customer.controller.enabled;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2}{tr:id=name}{td}h6.elements{td}{tr}{tr:id=des}{td}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_des|text=|trigger=button}{sub-section}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_des|trigger=none|class=sIndent}Get an array with the elements in the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_ret|text=|trigger=button}{sub-section}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_ret|trigger=none|class=sIndent}[elements]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_see|text=|trigger=button}{sub-section}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_see|text=|trigger=button}{sub-section}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_sam|text=|trigger=button}{sub-section}{sub-section:4FB6566DB73B9147-41B00C7C-4751402C-A303A5E4-10D5444450960A28E595F1F2_sam|class=sIndent|trigger=none}{code:language=javascript}
var elems = forms.customer.elements;
application.output("This form has " + elems.length + " named elements.")
for (var i=0; i<elems.length; i++)
	application.output(elems[i].getName());
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169}{tr:id=name}{td}h6.foundset{td}{tr}{tr:id=des}{td}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_des|text=|trigger=button}{sub-section}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_des|trigger=none|class=sIndent}Get the foundset of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_ret|text=|trigger=button}{sub-section}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_ret|trigger=none|class=sIndent}[JSFoundset]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_see|text=|trigger=button}{sub-section}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_see|text=|trigger=button}{sub-section}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_sam|text=|trigger=button}{sub-section}{sub-section:2296D0D7E8B9B1BB-131295B9-403B4836-9078852A-F3F0CB215E8CF1F8BF981169_sam|class=sIndent|trigger=none}{code:language=javascript}
application.output("selected index in form foundset: " + forms.customer.foundset.getSelectedIndex());
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}