thanks for reply. > try: $this->cleanUpFields('ListEvents') ; This throws an Error cause my Model Name is 'ListEvent'. If i use my model name, there's no effect on the date problem. I still need to do it manually :/
On 16 Sep., 20:51, dardosordi <[EMAIL PROTECTED]> wrote: > $this->cleanUpFields() should work, if not you must put a ticket in > trac.cakephp.org . > > On Sep 14, 4:05 pm, cronet <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > i get rid of simple things... (Things which worked already)... I could > > bang my head to the wall !! > > My first cake app, and i'm very impressed by cakephp. > > > Tow basic things won't work for me: > > > I think i'm doing all right, but the automagic of validating fields > > and throwing an error won't work sometimes. > > > My code goes here:http://bin.cakephp.org/view/1802002598 > > > First Problem: No Valiadtion. > > At other models I'm doing exact the same. But at this point no > > automagic validation error messages are thrown out. i thought > > validation works at $this->save($this->data) ... > > > Second Problem: > > The datetime field. > > I'm creating event_date_day, event_date_month and event_date_year with > > the form helper. > > I thought if i do $this->cleanUpFields() cakephp recognizes the > > event_date_* fields and put it together automagically. > > It's not working for me. I need to do it manually (now commented > > out). > > > Where is my error in recognising? > > > Thanks for any help! > > > Regards, > > alexander --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---