Title: <abbr title="Not Safe For Work / Mature content">[NSFW]</abbr> Validation returns always false.
Last modified: August 11, 2020

---

# [NSFW] Validation returns always false.

 *  Resolved [kibus90](https://wordpress.org/support/users/kibus90/)
 * (@kibus90)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/validation-returns-always-false/)
 * Hello,
 * I am fighting with this from one hour and still I can not fix it. So I have to
   ask you for help. I hope I can count on you!
 * So, I created fields, image and the result is:
 * > [View post on imgur.com](https://imgur.com/NLhkRpQ)
 * HTML:
 * **To validate my code is in different function:**
 *     ```
       $value = $_POST['code_captcha'];
       $captcha = new ReallySimpleCaptcha();
       if($captcha->check( $_POST['captcha_prefix'], $value ) == false){
       return $error;
       }
       ```
   
 * Before I wrote this psot I checked if there is genereted a new captcha during
   validation – no, is not. The validation still using old “prefix” and “answer”(
   $value). I checked also sent requests to “check” – they are still the same as
   in the form.
 * I do not know how to fix it. I tried already almost every thing… but it still
   does not work. Could you help me with it?
 * Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/validation-returns-always-false/#post-13235511)
 * Where can we see the website in question?
 *  Thread Starter [kibus90](https://wordpress.org/support/users/kibus90/)
 * (@kibus90)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/validation-returns-always-false/#post-13236891)
 * Thank you for your fast reply.
 * I found the problem!
 * The captcha is generated a few times – because the fields are generated in the
   loop. And image contains different prefix and hidden field also…. so they could
   not be validate!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[NSFW] Validation returns always false.’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-captcha/assets/icon-256x256.png?rev=1047241)
 * [Really Simple CAPTCHA](https://wordpress.org/plugins/really-simple-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-captcha/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kibus90](https://wordpress.org/support/users/kibus90/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/validation-returns-always-false/#post-13236891)
 * Status: resolved