CaptchaBundle icon indicating copy to clipboard operation
CaptchaBundle copied to clipboard

Captcha validation with ajax

Open atuzon opened this issue 10 years ago • 5 comments

Hello,

I'm trying to validate captcha with an ajax request and allways with the same response, the form is invalid. Do you know how to do this?

Sorry for my english.

Regards

atuzon avatar Jul 17 '13 07:07 atuzon

Tell me more about your problem

Zempheroth avatar Aug 07 '13 08:08 Zempheroth

I agree with @Zempheroth , can we get more information about this?

Gregwar avatar Aug 07 '13 09:08 Gregwar

the key will be removed on ajax validation request, when late the user submit again without ajax, the code will be wrong.

We should use a global var to prevent this: on ajax validation call, we can set the remove key var to false, so the CaptchaValidator will not remove the key form session.

bitraft avatar Jan 06 '14 09:01 bitraft

Has there been any further news on this? I haven't tried to validate with ajax but i am now in a situation where i need to... Is this possible?

dawidvdh avatar Sep 04 '14 14:09 dawidvdh

any updates on this @dawidvdh of shall we close this?

cordoval avatar May 13 '15 01:05 cordoval