Title: Doesn&#039;t work
Last modified: September 3, 2016

---

# Doesn't work

 *  [hebw](https://wordpress.org/support/users/hebw/)
 * (@hebw)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-818/)
 * I didn’t bother to check the code, but it seems like a simple JavaScript validation
   without any real back-end confirmation. I noticed it immediately because I use
   a special login widget on my front page.
 * The login script doesn’t actually require a captcha to have ever been filled 
   in, which means that every single bot could easily circumvent it. The captcha
   is in effect just a nuisance. The plugin is _pointless_.

Viewing 1 replies (of 1 total)

 *  [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/doesnt-work-818/#post-7919333)
 * Hi hebw,
 * Captcha will be working on the standard login page only. In case you are using
   a custom login page, and you would like to add captcha and its checking to this
   page, please follow the instructions below.
    1. Install the Captcha plugin and
   activate it. 2. Open the file with the form (where you would like to add the 
   captcha to). 3. Find a place to insert the code for the captcha output. 4. Insert
   the necessary lines:
 *     ```
       if( function_exists( 'cptch_display_captcha_custom' ) ) { echo "<input
       type='hidden' name='cntctfrm_contact_action' value='true' />"; echo
       cptch_display_captcha_custom() } ;
       ```
   
 * If the form is HTML you should insert the line with the PHP tags:
 *     ```
       <?php
       if( function_exists( 'cptch_display_captcha_custom' ) ) { echo
       "<input type='hidden' name='cntctfrm_contact_action' value='true'
       />"; echo cptch_display_captcha_custom(); } ?>
       ```
   
 * 5. Then 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 could add this line to the variable and display this variable in the
    required
   place instead of `echo "Please complete the CAPTCHA."`. If there is a variable(
   responsible for the errors output) in the check function, this phrase can be 
   added to this variable. If the function returns ‘true’, it means that you have
   entered captcha properly. In all other cases the function will return ‘false’.
 * Regards,
    BestWebSoft Support Team

Viewing 1 replies (of 1 total)

The topic ‘Doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/captcha_92b6c9.svg)
 * [Captcha](https://wordpress.org/plugins/captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/doesnt-work-818/#post-7919333)