An instance of the FormFieldCollection class contains all form fields in a Text Control document represented through objects of the types TextFormField, CheckFormField and SelectionFormField. An instance of this class can only be obtained with the TextControl.FormFields property. The FormFieldCollection class implements the IEnumerable and the ICollection interface.


public sealed class FormFieldCollection: TextFieldCollectionBase
Public NotInheritable Class FormFieldCollection
  Inherits TextFieldCollectionBase

Introduced: X18.


Method Description
Add Inserts the specified form field at the current input position.
Clear Removes all form fields from a Text Control document.
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
(Inherited from TextFieldCollectionBase)
GetItem Gets a particular form field from the collection.
Remove Removes the specified form field from a Text Control document.


Property Description
CanAdd Gets a value indicating whether a new text field can be inserted at the current input position.
(Inherited from TextFieldCollectionBase)
ConditionalInstructions Gets a collection of all conditional instructions that references to the form fields of the collection.
Count Gets the number of elements contained in the collection.
(Inherited from TextFieldCollectionBase)
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
(Inherited from TextFieldCollectionBase)
Item Gets the form field with the specified number from the collection.
SyncRoot Gets an object that can be used to synchronize access to the collection.
(Inherited from TextFieldCollectionBase)