Does anyone know of a way to delay the submission of a form? So when i push the button it allows enough time for my form to run the code before jumping the the success message page i have setup?
Hey Mason, can you explain which code needs to run when you click the submit button?
I found that when i push the submit button and i have it set to jump to a success page after submission that the page is not able to run stripes ‘charge.ajax’ to submit the charge to my stripe account. When i stop the button from linking to another page after click it works perfect and ‘charge.ajax’ runs and the charge is submitted.
Do you trigger the charge request using an onAfterSave dataset event?