Classic form Javascript API
The classic forms provides a Javascript API for custom integrations.
Use the following Javascript snippet to access the form-submit event with inputs:
window.addEventListener('apSubmitForm', function (event) {
console.log(event.detail.formData); // event.detail.formData will be a object with key the input ID and value the input VALUE entered
});
Updated on: 05/02/2024
Thank you!