This standard Recaptcha library behavior does not display the first image control.
Try to browse or publish the page many times, and you will see that images will not eventually appear.
If you want to do some client-side validation in other additional fields, you should use jQuery or a standard library like bootstrap or foundation like this or this . You can see the full example of a working script here (given the capabilities of the bootstrap script and HTML 5):
This version of the script is the same across the web. This no longer requires a client-side check! Take a look at the link: register codepen.io
For instance:
<!DOCTYPE HTML> <html> <head> <link href="../../dist/css/bootstrap.min.css" rel="stylesheet"> <script src='https://www.google.com/recaptcha/api.js'></script> </head> <body> <form class="signin-form" method="post" action="post.php"> <label for="inputEmail" class="sr-only">Email address</label> <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus> <label for="inputPassword" class="sr-only">Password</label> <input type="password" id="inputPassword" class="form-control" placeholder="Password" required> <div class="g-recaptcha" data-sitekey="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"></div> <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> </form> </body> </html>
And here is a sample code.
source share