Re: Yet Another Validation Question

2013-12-18 Thread Reuben
Have you confirmed that the validation function is actually getting called, via CakeLog::debug() or error_log(print_r($data, true)); If your validation function only returns false, and it never gets called, mostly likely, validation is not getting called at all. If the data is data['Community']

Yet Another Validation Question

2013-12-17 Thread Advantage+
I cannot validate my year select. When posted it appears as : data[Comunity][start][year]... 2009 Validation rule: 'start' => array( 'required' => true, 'allowEmpty' => false, 'rule' => array('checkYearValues', 'start'), 'message' => 'Please enter a year

Re: Yet another validation question...

2007-07-16 Thread francky06l
Could you post your validation set in the model ? On Jul 16, 8:56 pm, R13ckJ <[EMAIL PROTECTED]> wrote: > Take it I'm not the only one missing something huh?! > > On Jul 16, 1:50 pm, R13ckJ <[EMAIL PROTECTED]> wrote: > > > Can someone tell me why when I set multiple validation messages in my > >

Re: Yet another validation question...

2007-07-16 Thread R13ckJ
Take it I'm not the only one missing something huh?! On Jul 16, 1:50 pm, R13ckJ <[EMAIL PROTECTED]> wrote: > Can someone tell me why when I set multiple validation messages in my > model in the view only the last validation message is available? Why > does it get overwritten so the user can only

Yet another validation question...

2007-07-16 Thread R13ckJ
Can someone tell me why when I set multiple validation messages in my model in the view only the last validation message is available? Why does it get overwritten so the user can only correct one validation error at a time? Surely I'm missing something! --~--~-~--~~~-