addFormElementsToPage

abstract fun <T : FormElementConfiguration?> addFormElementsToPage(@NonNull fullyQualifiedName: String, @NonNull formElementConfigurations: List<T>): FormField

Allows to programmatically create and insert a form field into the document. The newly created form field will be automatically attached to the document once created.

Return

The newly created form field.

Parameters

fullyQualifiedName

The fully qualified name of the new form field.

formElementConfigurations

List of form element configuration classes (Only and RadioButtonFormConfiguration support multiple elements).

<T>

Form element configuration subclass.