Syncle provides several types of custom DOM events. You can utilize the events within your JavaScript code to run a function in a specific situation.
* Both event will return the form input data
List of custom DOM events:
Fired when user is submit a form
document.addEventListener("syncle-submit", function(e) {
console.log("addEventListener->syncle-success");
// add your code here
});
Fired when submit event done and got success form syncle
document.addEventListener("syncle-success", function(e) {
console.log("addEventListener->syncle-success");
// add your code here
});