Understanding a Collection object and CollectionField objects
After referencing the SDK PDF, I am trying to understand
1. What the collection object refers to
2. What the collectionField object refers to
3. How to create a collectionField object
To test these things out, I tried the following code in the Console window and in a field with Mouse Up as a trigger. Neither one worked. I guess I'm not understanding the definition of a collection object and a collectionField object. The PDF form I am testing on has many fields on it so I would think there are enough fields to test on.
var c = this.collection;
for (var i = 0; c.fields; i++)
{
app.alert(c.fields);
}
