Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
RuntimeComponent
Table Cell (td)[index]
styleindexdisplay: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.
Enter additional information related to this 'class' inside the {div} macro with 'id=description' Div
iddescription
HTML Table
true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

Table Cell (td)
RuntimeComponent
Table Cell (td)[name]
servoy sSummary12%30%58%height: 30px;3Property SummaryGet an element of the form by its index. Table Row (tr)
Table Cell (td)
String[]
Table Cell (td)allnames
Get an element of the form by its name. Table Row (tr)Get the names of all elements of the form, as an array. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)length
Get the number of elements of the form. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)idid[index] Table Row (tr)nametd

[index]

Table Row (tr)id

des Table Cell (td) DivclasssIndent
Get an element of the form by its index.
tr
idret

Table Cell (td)

Returns

divsIndentclients

classsIndent
RuntimeComponent
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
for (var i=0; i<forms.customer.elements.length; i++)
{
	var elem = forms.customer.elements[i];
	application.output(elem.getName() + ": " + elem.getDataProviderID());
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
id[name]
Table Row (tr)
idname
Table Cell (td)

[name]

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get an element of the form by its name.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
RuntimeComponent
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
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());
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idallnames
Table Row (tr)
idname
Table Cell (td)

allnames

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the names of all elements of the form, as an array.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String[]
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
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());
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idlength
Table Row (tr)
idname
Table Cell (td)

length

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the number of elements of the form.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
for (var i=0; i<forms.customer.elements.length; i++)
{
	var elem = forms.customer.elements[i];
	application.output(elem.getName() + ": " + elem.getDataProviderID());
}
Table Row (tr)
classlastDetailRow
Table Cell (td) 

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
[name]name

[name]

dessIndent
Get an element of the form by its name.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
allnamesname

allnames

dessIndent
Get the names of all elements of the form, as an array.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
lengthname

length

dessIndent
Get the number of elements of the form.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow