Add this in the header
<script src='
https://www.google.com/recaptcha/api.js'></script>
Add this the end of the file:
<script type="text/javascript">
function my_button_click_handler() {
var recaptcha = $("#g-recaptcha-response").val();
if (recaptcha === "") {
alert("Please check the recaptcha");
return false;
}
return true;
};
</script>
Add the Recaptch at bottom of form before the </form>
<div align="right" id="dmxReCaptcha2" class="g-recaptcha" data-sitekey="YOUR SITE KEY HERE"></div>
on form tag : add this
<form onsubmit="return my_button_click_handler()" method="post"