Captcha error message is not display on custom form
-
Hello Team,
I am using your free plugin which supports the add your captcha code to my custom form.
Yes, the captcha is added. But when I add the wrong value the validation is not done on my customs form for the wrong value.
One IMP thing I want to display in the form when user is not log in within my system.
Can you please guide me for the same.
I have added the code in the file where I want to show the captcha.
<div class="field-row"> <div class="col-sm-12"> <?php echo apply_filters( 'cptch_display', 'Captcha Abfrage' ); ?> </div> </div>
<?php $error = apply_filters( 'cptch_verify', true ); if ( true === $error ) { /* do necessary action */ } else { echo $error; } ?>
I want the result like this demo URL if I entered the wrong value then show the error message “Please enter a valid CAPTCHA value.”.
as shown in this page: https://bestwebsoft.com/demo-for-captcha/#cntctfrm_contact_form
Can you please guide me for the same
Thanks,
Riddhi Mehta
- The topic ‘Captcha error message is not display on custom form’ is closed to new replies.