validation / FormHelper::error

2008-05-20 Thread Break
Hey guys, i got a problem with the formhelper::error. I'm know tryin for 2 days to fix this problem: The validation in the code below works fine. if the field is empty the setFlash-Msg appears and the data isn't saved. But the error message doesnt appear. MODEL

Re: validation / FormHelper::error

2008-05-20 Thread clrockwell
PROTECTED] wrote: Hey guys, i got a problem with the formhelper::error. I'm know tryin for 2 days to fix this problem: The validation in the code below works fine. if the field is empty the setFlash-Msg appears and the data isn't saved. But the error message doesnt appear. MODEL

Re: validation / FormHelper::error

2008-05-20 Thread Break
yes i know, i tested that but the the error message still doesnt appear. i really get headaches right now... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Formhelper error

2008-01-25 Thread ProFire
Wow! It really worked! Thanks! I have been suspecting that the Model Class was at fault, but couldn't pin point the error. Thanks a lot! On Jan 26, 8:14 am, arambi [EMAIL PROTECTED] wrote: Hello I had the same problem and I have solved it. The problem was that I had the property $validate

Re: Formhelper error

2008-01-25 Thread arambi
Hello I had the same problem and I have solved it. The problem was that I had the property $validate of the model defined but without pointing out that it is an array. The solution is the following one. You must write in the model var $validate = array () And it should work well Greetings On

Re: Formhelper error

2008-01-08 Thread ProFire
Just an update the the problem I'm encountering: I have quite a number tables in my database. The only time I'm encountering this error (So far) is when I use the formhelper on this specific table called accounts. I have other tables like tasks and I have used formhelper with it. No such error

Re: Formhelper error

2008-01-08 Thread Chris Hartjes
On Jan 6, 2008 10:10 PM, ProFire [EMAIL PROTECTED] wrote: In my view, this is how I use my form: echo $form-input(Account.username, array()); Why are you passing an empty array as the second parameter? It's not needed. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from

Formhelper error

2008-01-06 Thread ProFire
Hi, I'm often getting this error whenever I use the FormHelper. I'm using CakePHP v1.2.0.6311 beta. Warning (2): array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object [CORE\cake\libs \view\helper.php, line 344] In my view, this is how I use