symfony validation problem

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-05-15T12:33:29Z Indexed on 2010/05/15 13:04 UTC
Read the original article Hit count: 156

Filed under:

im testing symfony form validation.

the problem is very simple.

no matter what i put in the body text area and post it, i keep getting "Required" back.

i dont know why.

i just have one validation rule.

here is the code: code

what is wrong/how can i debug?

thanks

UPDATE: it has something to do with the binding in the controller.

cause even if i delete the validation the form will still not be valid and it will be passed to the template but this time without the "Required".

so it wont be valid no matter if ive got the validation or not.

it has something to do with the embedForm() maybe? someone that has validated an embeded form?

© Stack Overflow or respective owner

Related posts about symfony