views:

60

answers:

1

I am currently using ambethia's recaptcha plugin for rails. I want to disable the message

"incorrect-captcha-sol"

whenever the user incorrectly enters the wrong recaptcha. How should I go about doing this?

In the source file I get the following tags surrounding the error message

<p class="recaptcha_error">incorrect-captcha-sol</p>
+1  A: 

The plugin sets the flash (more precisely flash[:recaptcha_error]), i.e. it won't display message automatically. Most likely you have a piece of code that displays all flash messages. Try removing it and/or excluding flash[:recaptcha_error] from being displayed.

Slobodan Kovacevic
i see. thank you so much
denniss