CF7 in Elementor pop up appears as disabled
-
Good morning, I have encountered an error. I don’t know if it’s related to Contact Form 7 or Elementor. When creating a pop-up for a contact form, the ‘send’ button appears as disabled. If you remove the ‘disabled’ attribute from the button, you are able to send the form.
I’ve tried removing the ‘disabled’ attribute from the pop-up using JavaScript, but I haven’t been able to make it work.
<script> // Wait DOM to charge document.addEventListener("DOMContentLoaded", function() { // Search the button var botones = document.getElementsByClassName("wpcf7-submit"); // enables the button "wpcf7-submit" for (var i = 0; i < botones.length; i++) { botones[i].removeAttribute("disabled"); } }); </script>
If anyone encountered this error or know how to solve it, please let me know. By the way the button to activate the form is Descargar Catálogo.
Sorry for my english,
Alejandro.
The page I need help with: [log in to see the link]
- The topic ‘CF7 in Elementor pop up appears as disabled’ is closed to new replies.