My form not submitting its stuck on please wait. But leads come in Marketo database so can you please look into my code what’s the causing.
Here is link for form. https://www5.cadence.com/orcad-student-license-request.html
Solved! Go to Solution.
I was driving at the fact that the comment says “hide” but the code in fact calls .show().
Hmm, what do you think this code is doing? 🙂 Particularly line 3!
form.onSuccess(function(values, followUpUrl) {
//get the form's jQuery element and hide it
form.getFormElem().show();
document.getElementById('confirmform').style.visibility = 'visible';
//return false to prevent the submission handler from taking the lead to the follow up url.
return false;
});
This code will show thank you message in popup on submit the form.
My concern is only why submit say's Please wait! and disabled attributed prop on submit button.
Thank you! This is very helpful.