Home Forums Porto Template Integrating recaptcha like in the demo.

  • This topic has 2 replies, 2 voices, and was last updated 3 weeks ago by  frankict. This post has been viewed 102 times
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10031223
    frankict
    Participant

    Hello,
    I have some trouble trying to integrate recaptcha like this :

    https://preview.oklerthemes.com/porto/7.6.0/contact-us-recaptcha.html

    in this kind of demo :

    https://preview.oklerthemes.com/porto/7.6.0/demo-one-page-agency.html

    I’ve attached my website. What should I change ?

    Thanks


    #10031226
    Support2
    Keymaster

    Hello,

    1) First add the script of google recaptcha v3 on footer of page:

    * Change YOUR_RECAPTCHA_SITE_KEY with your site key.

    2) Change the HTML of form to:

    <form id="contactForm" class="contact-form-recaptcha-v3 custom-contact-form-style-1" action="php/contact-form-recaptcha-v3.php" method="POST">
        .........
        ........
    </form>

    3) Change the value of variable $secret in php/contact-form-recaptcha-v3.php with your recaptcha secret key.

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10031236
    frankict
    Participant

    Everything worked fine!
    Thank you Rodrigo!


Viewing 3 posts - 1 through 3 (of 3 total)