• Resolved wallacelin

    (@wallacelin)


    Hello, on my website I have a Real-Time Marketing Form embedded from Microsoft Dynamics 365. I do not want to integrate Dynamic’s default captcha or Google reCAPTCHA on the form, but I want to set up a captcha (either invisible or not) that will only load the form when users pass it. How would this be possible with hCAPTCHA shortcode?

    Would love to know, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor kaggdesign

    (@kaggdesign)

    Hello @wallacelin,

    You cannot solve this task without coding. Here is described how to add hCaptcha to an arbitrary form.

    First, you have to create any which may contain nothing but hCaptcha. Then you should verify the response on the backend as described by the link above. If the result of verification is null, you should show your marketing form dynamically via PHP code.

    Thread Starter wallacelin

    (@wallacelin)

    Hello, thank you for your response! For the code below, should I also add it to the page itself as well?

    $result = hcaptcha_verify_post();
    
    if ( null !== $result ) {
        echo esc_html( $result );
        // Block processing of the form.
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hCAPTCHA for Loading Dynamic Form?’ is closed to new replies.