WordPress.org

Ready to get started?Download WordPress

Forums

Captcha
[resolved] Captcha Doesn't work on Custom Form (3 posts)

  1. ASJInc
    Member
    Posted 1 year ago #

    I have added in the "custom" code into the end of a form on a PHP page. The form shows up, but it makes no difference whether it is completed or not. Visitors can still submit the form.

    Any suggestions?

    http://wordpress.org/extend/plugins/captcha/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 9 months ago #

    Hello ASJInc,

    Perhaps, you added the functionality of captcha checking incorrectly.
    You should add the lines to the function of the entered data checking

    if( function_exists( 'cptch_check_custom_form' ) &&
    cptch_check_custom_form() !== true ) echo "Please complete the
    CAPTCHA."

    or

    <?php if( function_exists(
    'cptch_check_custom_form' ) && cptch_check_custom_form() !==
    true ) echo "Please complete the CAPTCHA." ?>

    You should add it where the form validation runs.

    Kind regards,
    Support Team

  3. ASJInc
    Member
    Posted 9 months ago #

    This client is using a third-party service as a lead generator. Is there any easy way to validate the form locally before it being sent that you could recommend?

    Currently they have the form action set to:

    <form action="https://app.leadconduit.com/v2/PostLeadAction" class="contact" method="POST">

    How can I validate the form before sending to them?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.