Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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


HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allnames
Get the names of all elements of the form, as an array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#length
Get the number of elements of the form.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idallnames
classnode
Table Row (tr)
idname
Table Cell (td)
allnames
Table Row (tr)
iddes
Table Cell (td)
Get the names of all elements of the form, as an array.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
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
classnode
Table Row (tr)
idname
Table Cell (td)
length
Table Row (tr)
iddes
Table Cell (td)
Get the number of elements of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
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)