Need to disable Recaptcha validation with multiple buttons on page

329 views
Skip to first unread message

Pieter Lutzkie

unread,
Nov 25, 2009, 3:52:16 AM11/25/09
to reCAPTCHA
I have a Signup and a Login section on the same page and I don't want
Recaptcha to validate the page when the Login's Login button is
clicked. How is this done?

Also, I have a Login control in the Master-page header which also
doesn't work because the Recaptcha validation obviously fails and then
the user can't login.

Any help would be appreciated!

Paul Herring

unread,
Nov 25, 2009, 3:53:52 AM11/25/09
to reca...@googlegroups.com
On Wed, Nov 25, 2009 at 8:52 AM, Pieter Lutzkie <pie...@mattafix.net> wrote:
> I have a Signup and a Login section on the same page and I don't want
> Recaptcha to validate the page when the Login's Login button is
> clicked. How is this done?


<form>
signup stuff
recaptcha
</form>

<form>
login stuff
</form>


--
PJH

http://shabbleland.myminicity.com/
http://www.chavgangs.com/register.php?referer=9375
http://www.kongregate.com/?referrer=Shabble

Adrian Godong

unread,
Nov 25, 2009, 3:59:38 AM11/25/09
to reca...@googlegroups.com, reCAPTCHA
Hidden recaptcha are not validated.

--
Adrian Godong
E-mail brought to you by iPhone 3GS and O2 network.
> --
>
> You received this message because you are subscribed to the Google
> Groups "reCAPTCHA" group.
> To post to this group, send email to reca...@googlegroups.com.
> To unsubscribe from this group, send email to recaptcha+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en
> .
>
>

Pieter Lutzkie

unread,
Nov 25, 2009, 4:49:22 AM11/25/09
to reCAPTCHA
@PJH, thanks.

Sounds like a good solution only I'm using Masterpages with a certain
template so on this specific page I cannot control the <form> tags...?

Pieter Lutzkie

unread,
Nov 25, 2009, 4:57:30 AM11/25/09
to reCAPTCHA
@Adrian, thanks.

I've even tried Recaptcha.destroy() with the OnClientClick of Login's
Login button, but that's too drastic because when the user's login
attempt fails and he then decides to SignUp (on the same page) then
the Recaptcha in not validated...and it means I have to re-create it.

How can I get to toggle the ".enabled" property of the Recaptcha
control in javascript? Wouldn't I need a "BehaviorID" property for
that?
> > .- Hide quoted text -
>
> - Show quoted text -

Adrian Godong

unread,
Nov 25, 2009, 5:40:33 AM11/25/09
to reca...@googlegroups.com
I was assuming that you are using the server-side .NET control of
reCAPTCHA and you are not displaying both form at the same time.
--
Adrian Godong
adrian...@gmail.com

Michael

unread,
Nov 25, 2009, 4:40:03 PM11/25/09
to reCAPTCHA
More information is needed. What language are you using? If it is
ASP.Net, then you can't use to forms on the page. In that case, you
will need to set the following when you don't want reCaptcha to
authenticate:

recaptcha.SkipRecaptcha = true;
Reply all
Reply to author
Forward
0 new messages