Gergo,
This snippet should help you out:
http://www.symfony-project.org/snippets/snippet/232
On Feb 15, 4:39 am, pihentagy [EMAIL PROTECTED] wrote:
Hi all!
I need something conditional validation for the following:
There is a register form in my app, and after registration, you can
edit
Alexander Deruwe wrote:
Hey everyone,
I'm wondering if it's possible to do conditional validation... As a
bit of explanation, I am working with an object that might have (or
have not) some fields set depending on certain conditions.
Can I handle this with one edit.yml validator? I.e.
On 04 Jul 2007, at 15:27, Matthias Nothhaft wrote:
You should write one edit.yml with all your possible validators and
put
these condition checks into your own validators.
Simply return true in your validator if the field not needs to be
checked. If you need required checks on conditional