onFormSubmitted event handler

To capture and process form submission data, you can implement the onFormSubmitted event handler by Custom js. This method is automatically invoked when a form submission is completed, allowing you to send data to third-party services or execute custom business logic.

 

Submission Object

The top-level object contains form identification and an array of form fields/attributes.

Field

Type

Description

Example

formId

String

Unique identifier for the form template

"1796"

formName

String

Human-readable name of the form

"Contact Us no Header Background"

attributes

Array

Collection of form fields with user data

See Attributes section

Attributes Array

Each element in the attributesarray represents a single form field with the following structure:

Common Fields (Present in All Attributes)

Field

Type

Required

Description

code

String

Yes

Unique identifier for the form field (UUID format)

type

String

Yes

Field type identifier

title

String

Yes

Display label for the form field

value

String

Conditional

User-provided value for the field (if applicable)

Back