I found your very useful code from https://stevencotterill.com/articles/adding-google-recaptcha-v3-to-a-php-form but I'm having trouble on how use the render() function from reCaptcha.php,
when I'm calling it like this <script> <?php $reCaptcha->render(); ?></script> it return an error of Uncaught ReferenceError: grecaptcha is not defined
Hi Jack,
I found your very useful code from https://stevencotterill.com/articles/adding-google-recaptcha-v3-to-a-php-form but I'm having trouble on how use the
render()
function fromreCaptcha.php
, when I'm calling it like this<script> <?php $reCaptcha->render(); ?></script>
it return an error ofUncaught ReferenceError: grecaptcha is not defined