title: How to check in js that user has checked the checkbox in Google recaptcha?
body: <p>I have added the following before end of head</p>
  
  <pre><code>&lt;script src='https://www.google.com/recaptcha/api.js'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have added this before end of form</p>
  
  <pre><code>&lt;div class="g-recaptcha" data-sitekey="== xxxxxx =="&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I can see the recaptcha similar to <a href="https://developers.google.com/recaptcha/" rel="noreferrer">https://developers.google.com/recaptcha/</a></p>
  
  <p>HOwever, when user presses data without checking the checkbox, the data is submitted. Is there any other code I need to add to check if user has pressed the checkbox? Hopefully in js?</p>