Hi, I’m creating a calculator with Unbounce (at least trying to) thing is, I need to do some validations before the data is submitted as a lead, but when I click the CTA it is automatically submitting the form, so what I did was to unbind the click of the CTA and then use the preventDefault function.
My mission is to do all the validations I need and then when all the validations are clear, to submit the data to unbounce as a lead. Here’s the code.
// deletes unbounce-added submit function:
//HERE GOES ALL MY VALIDATIONS
My question is, how can I “re-submit” the landing page form, I’m using
But it’s not working.
Also tried simply
And still nothing.