addFormElementsToPageAsync

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

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

Return

Single emitting 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.