Validate Problem

2008-09-23 Thread [EMAIL PROTECTED]
Hi awesome Cake developers, Having a problem with validate in 1.2. Something in the last portion of this $validate definition is kicking out an error: var $validate = array( 'name' = array( 'alphaNumeric'=array(

Re: Validate Problem

2008-09-23 Thread teknoid
You've not specified a 'rule' for 'content'. ('required' is not a rule, really). could be: 'content'=array( 'rule='notEmpty', 'required'=true ) Double check in the manual to see what 'required' means On Sep 23, 1:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi awesome Cake

Re: Validate Problem

2008-09-23 Thread [EMAIL PROTECTED]
Cool, thanks teknoid. I was simply going through a tutorial in the Apress book Beginning CakePHP. . . maybe an errata in the book. Anyways, thanks. On Sep 23, 2:33 pm, teknoid [EMAIL PROTECTED] wrote: You've not specified a 'rule' for 'content'. ('required' is not a rule, really). could