w3Upload Reference

Reference FieldColl

 w3.FieldCollection
    Count : Integer
    Items : w3.FormField


Properties

  Count : Integer
(v1.0)
Returns the number of fields in the submitted form.

Useful if you wish to have a dynamic number of fields submitted.
var noOfFields = new Number ( upLoad.Form.Count );
// noOfFields contains the number of fields in the submitted form

  Items : w3.FormField
(v1.0)
Returns the field object.

This is the second way to create a variable reference to a field object of the submitted field collection. See also the 'Form' member of the w3.upload object.
var firstField = upLoad.Form.Items( 0 );
// firstField now contains the first field object of the submitted form