CF7 Forms - Submit button disablement

Asked

Viewed 12 times

0

Hello,

In my CF7 form I have the following code to enable the Submit button (Id=send):

  <script type="text/javascript">
    window.onload = function() {
    document.getElementById('enviar').disabled=false;
  }
  </script>

   .
   .
   .

   <strong>Confirmo que li e  aceito as condições de participação [acceptance aceito id:aceito]</strong></p>      
   <p></p>
   [submit id:enviar "enviar"]

The accepting field (Id=accepted) is connected by default but clicking on the Submit button displays the following message:

"You must accept the terms and conditions before sending your message."

And if you turn off the accepting field, the Submit button is automatically disabled. Does anyone know why this happens? I seek help...

  • Marcelo how to proceed when I have new data to publish? I was told that I should ask a new question. If I’m wrong, I’d appreciate you telling me how to proceed...

  • All your questions were related to the same problem, it would be interesting to add information editing it, not publishing a new question

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.