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 |
|---|---|---|---|
|
|
String |
Unique identifier for the form template |
"1796" |
|
|
String |
Human-readable name of the form |
"Contact Us no Header Background" |
|
|
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 |
|---|---|---|---|
|
|
String |
Yes |
Unique identifier for the form field (UUID format) |
|
|
String |
Yes |
Field type identifier |
|
|
String |
Yes |
Display label for the form field |
|
|
String |
Conditional |
User-provided value for the field (if applicable) |