If there is a set of fields, I still haven't found it. There is a way to iterate over all fields.
The numFieldsproperty of the doc object sets the number of fields,
returns the name of the field with this index, and getField ( fieldName ) returns the field of this name.getNthFieldName(index)
for (var fieldNumber = 0; fieldNumber < numFields; fieldNumber ++)
{
getField(getNthFieldName(fieldNumber)).value = 'Scripty Was Here';
}
source
share