Disabled the Button to Prevent Duplicate Submissions Conflict
-
Hello,
I use your great plugin on a website since a moment, but I’ve updated recently my core and plugins, and since then I have a strange thing that is related to this functionnality : “Disabled the Button to Prevent Duplicate Submissions”.
I’ve studied your code, and I see that you disabled the submit button of the form when we are uploading files (which is a great idea), but my problem is that you remove disable attribute only if user has checked all acceptances buttons, or if acceptances buttons are optionals, or if the form has this class ‘wpcf7-acceptance-as-validation’.
But in my case, I don’t have the class on my form, all my acceptances buttons are required, so the problem is that when I add files on the field, I can’t submit my form if i did not check acceptances buttons, because the button stay disabled (but my acceptances buttons are after the upload input).
I think it would be great to remove disabled attribute after an upload even if acceptances buttons are not checked, this verification will be done by CF7 when we try to submit the form if theses fields are required.
Thank you in advance !
- The topic ‘Disabled the Button to Prevent Duplicate Submissions Conflict’ is closed to new replies.