We have a frontend submission form that is getting duplicate (and in some cases multiple duplicates) submissions because users are clicking submit multiple times while the form is processing/submitting. Any ideas on how we can prevent this?
Maybe a way to disable the submit button after the first click (while still allowing for correcting any failed validation)?
I'm still struggling with this. Anything I do with the validate() method in my own javascript file (enqueued via rwmb_enqueue_scripts hook) is causing the metabox validation function to not work. No jquery form validation occurs. Any suggestions?
Thanks, Anh. I still can't get this to work. When I replace metabox's valide.js with my own javascript file, validation doesn't work at all. The form can be submitted without any validation.
Can you send a fix to me before you push it out with the new version of metabox so that I can get it implemented right away? We really need a fix ASAP.