title: Google reCaptcha Validation
body: <p>I am am working with Google reCaptcha in a <code>Registration</code> page using Laravel 8. My View (blade) page code is like below.</p>
  <pre><code>&lt;div class=&quot;form-group mt-5&quot;&gt;
      &lt;div class=&quot;g-recaptcha&quot; data-sitekey=&quot;sitekeytext&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
  @error('g-recaptcha-response')
    &lt;div class=&quot;alert alert-danger mt-1 mb-1&quot;&gt;{{ $message }}&lt;/div&gt;
  @enderror
  </code></pre>
  <p>My Controller code is like below,</p>
  <pre><code>$request-&gt;validate([
    'g-recaptcha-response' =&gt; 'required',
  ],
  [
     'g-recaptcha-response.required' =&gt; 'Captcha is Required',       
  ]);
  </code></pre>
  <p>After submitting <code>Form</code> I am getting <code>Captcha is Required</code> validation message.</p>
  <p><a href="https://i.stack.imgur.com/efv8R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/efv8R.png" alt="enter image description here" /></a></p>
  <p>Same code is working perfectly on <code>Login</code> page.</p>