It's not perfect (as it doesn't stop non-js resubmits) but how about a bit of javascript..:
change contourformContactForm to match the id of your form (use the browser inspector tools if you're not sure). Add a class to your css for .disabled to grey out the button.
Hi Thomas, I needed to resolve the same problem with multiple Contour form submissions and achieved good results with the solution provide by Steve Morgan. Ultimately, I found adjusting the properties of the submit button directly worked well. $('input[type="submit"]').prop('disabled', true);
$('input[type="submit"]').prop('value', 'Processing');
Multiple entries on Form Submit
Hi I am using Umbraco Form,
The issue i am facing is that the loading takes alittle too long, some users got impatient and clicked on the submit button again.
Is there a way to disable the submit button only when the form passes validation?
Sincerely, Thomas
Hi Thomas,
It's not perfect (as it doesn't stop non-js resubmits) but how about a bit of javascript..:
change contourformContactForm to match the id of your form (use the browser inspector tools if you're not sure). Add a class to your css for .disabled to grey out the button.
That should read change
#contour_form_ContactForm
Hi Thomas,
I needed to resolve the same problem with multiple Contour form submissions and achieved good results with the solution provide by Steve Morgan.
Ultimately, I found adjusting the properties of the submit button directly worked well.
$('input[type="submit"]').prop('disabled', true); $('input[type="submit"]').prop('value', 'Processing');
is working on a reply...