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


Property Summery
Array
#allnames
Get the names of all elements of the form, as an array.
Number
#length
Get the number of elements of the form.

Property Details
allnames
Get the names of all elements of the form, as an array.
Returns
Array
Sample
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());	
}

length
Get the number of elements of the form.
Returns
Number
Sample
for (var i=0; i<forms.customer.elements.length; i++)
{
	var elem = forms.customer.elements[i];
	application.output(elem.getName() + ": " + elem.getDataProviderID());
}