excelwebzone/EWZRecaptchaBundle — Issue #13: RFC on validation
Author: Seikilos
Created: 2011-12-14 15:39:27+00:00
State: open

Hello,

I am trying to get the recpatcha validation to work but for me there seems to be a lack of documentation regarding the validation.
I use forms without a bound object but with arrays. If I create a form with the name foobar and add a text field and recaptcha via add('recaptcha', 'ewz_recaptcha') and submit the form. What now? The textfield gets the name foobar[myTextField] but the relevant recpatcha values are not bound to recaptcha (this remains null) but are beside the foobar form and called recaptcha_challenge_field and recaptcha_response_field.
If I do a $form->bindRequest($request); I will have a null value for "recaptcha" and I suppose I need to manually apply the TrueValidator class on those both variables, right?

Please clarity that in the readme