Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  


Creates a group field. A group field is a simple array of fields which can be used to separate fields into several groups.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.CreateGroupField"; PDF; Name; Parent )


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Name Name of the field "Hello"
Parent Parent group field if any or -1. -1


Returns handle or error.


Creates a group field. A group field is a simple array of fields which can be used to separate fields into several groups.
The field itself has no appearance, it is invisible.

For example, if an interactive form contains fields for private personal data and fields for company data in any kind, the fields can be structured into two base parts: PersonalData and CompanyData. The field names of each part must be unique inside its own hierarchy. However, duplicate field names of fields of the same type are still allowed.

Field names and Group fields

The name of a specific interactive form field is the partial field name. The fully qualified name is not explicitly defined, but is constructed from the partial field name of the field and all of its ancestors.
For a field with no parent, the partial field name and the fully qualified name are the same; for a field that is the child of a parent (group) field, the fully qualified name is formed by appending the child field's partial name to the parent's fully qualified name, separated by a period (.):


For example, if a group field with the partial field name PersonalData has a child whose partial field name is Address, which in turn has a child with the partial field name ZipCode, then the fully qualified name of this last field would be

Thus all fields descended from a common ancestor will share the ancestor's fully qualified field name as a common prefix in their own fully qualified names.

The naming scheme must be taken into account when accessing fields of a group in JavaScript functions.

Acrobat 4 does not support group fields inside a hide or form action. For example, if a group field will be added to a hide action, the entire group becomes invisible if the action is executed in Acrobat 5 or higher. Acrobat 4 ignores the group field; each field of the group must be manually added to the hide action.

See also CreateGroupField function in DynaPDF manual.

See also

DynaPDF.CreateDeviceNColorSpace   -   DynaPDF.CreateJSAction

Feedback: Report problem or ask question.

MBS Xojo Plugins