Title: Submit button keeps disabled with acceptance
Last modified: May 4, 2026

---

# Submit button keeps disabled with acceptance

 *  [emked](https://wordpress.org/support/users/emked/)
 * (@emked)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/submit-button-keeps-disabled-with-acceptance/)
 * When using Drag and Drop File Uploader together with the acceptance, the submit
   buttons keeps the disabled css class.
 * When uploading a file the Drag and Drop File Uploader adds the attribute disabled
   and a css class disabled to the submit button. When accepting the acceptance 
   checkbox, the disabled attribute will be removed, but the class disabled not.
   Because of this the vistor can’t submit the form.
 * I now add a listeren on the checkbox to also remove the disabled css class to
   fix this. In my opinion the disabled css class is not needed. The disabled attribute
   should be enough.
 * I don’t use the “acceptance_as_validation: on” option.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/submit-button-keeps-disabled-with-acceptance/#post-18898042)
 * Hello [@emked](https://wordpress.org/support/users/emked/) ,
 * Thanks for reaching out.
   Could you please paste your form code here so I can 
   try and take a look?
 * Also, can you go to “Contact -> Drag & Drop Upload” settings and make sure to**
   uncheck** “Enable jQuery”.
 * Please let me know.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/submit-button-keeps-disabled-with-acceptance/#post-18898134)
 * Also, the css .**disabled** class from the button is not preventing the form 
   to submit maybe there’s css somewhere from the theme or something that changed
   the cursor pointer.
 * I’ve added the class because I have something in the script to check or track
   if the button is currently disabled.
 *  Thread Starter [emked](https://wordpress.org/support/users/emked/)
 * (@emked)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/submit-button-keeps-disabled-with-acceptance/#post-18899137)
 * Thanks for your reply. Here you have the form code:
 *     ```wp-block-code
       <div class="row"><div class="col-md-12"><div class="mb-3"><label for="name" class="form-label">Name</label>[text* name id:name class:form-control]</div></div></div><div class="row"><div class="col-md-6"><div class="mb-3"><label for="emailaddress" class="form-label">Emailaddress</label>[email* emailaddress id:emailaddress class:form-control]</div></div><div class="col-md-6"><div class="mb-3 mb-md-0"><label for="phone" class="form-label">Phone</label>[text* phone id:phone class:form-control]</div></div></div><div class="row"><div class="col-md-12"><label for="vraag" class="form-label">Motivation</label>[textarea motivation id:motivation x4 class:form-control class:h-100]</div></div><div class="row"><div class="col-md-12">[mfile upload-cv filetypes:pdf|txt|doc min-file:0 max-file:1]</div></div><div class="d-flex flex-column flex-md-row align-items-md-center justify-content-md-between"><div class="mb-3 mb-md-0 me-md-3">[acceptance terms class:terms] I agree with the privacy conditions [/acceptance][turnstile]</div>[submit class:btn class:btn-primary "Contact me"]</div>
       ```
   
 * I already had the option “Enable jQuery” unchecked because that gave a Javascript
   error.
 * I use Bootstrap. This contains a .disabled class for buttons. Of coarse i could
   override this css and re-enable the button with the .disabled class, but it would
   be neater if the submit button doesn’t have a disabled class if it is not disabled.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubmit-button-keeps-disabled-with-acceptance%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

## Tags

 * [acceptance](https://wordpress.org/support/topic-tag/acceptance/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 3 replies
 * 2 participants
 * Last reply from: [emked](https://wordpress.org/support/users/emked/)
 * Last activity: [1 week, 1 day ago](https://wordpress.org/support/topic/submit-button-keeps-disabled-with-acceptance/#post-18899137)
 * Status: not resolved