Re: Issue with allowEmpty and required in multiple validation rules (1.2)

2008-02-03 Thread cisbrh
Thanks for your answer duRqoo, see below: On Feb 3, 11:25 am, duRqoo <[EMAIL PROTECTED]> wrote: > Hello Benjamin, this should work: > > 'password' => array( > 'notNull' => array( > 'rule' => array('custom', VALID_NOT_EMPTY), I though constant rules were deprecated in cake

Re: Issue with allowEmpty and required in multiple validation rules (1.2)

2008-02-03 Thread duRqoo
Hello Benjamin, this should work: 'password' => array( 'notNull' => array( 'rule' => array('custom', VALID_NOT_EMPTY), 'required' => true, 'message' => 'Please enter a password.' ), 'between' => array( 'rule'

Issue with allowEmpty and required in multiple validation rules (1.2)

2008-02-03 Thread cisbrh
Hi everybody, first of all thank you for the really good work you've doing on cake. I've used it 2 years ago for a massive application and I had to write my own postgresql layer... The work done since then especially on 1.2 is amazing. Anyway. I am trying to use multiple validation rules (1.2) wit