Do Pardot Forms provide an onSuccess handler? I am trying to write custom JavaScript that submits the form data to an external API only if the form is valid.
The only success I have had is adding custom JS to the Form Layout Template, but this requires me to write my own validation which seems redundant.
Thanks in advance!