Hi Deepesh,

thanks for your reply.

Sure, I could make a custom validation rule, but as it is written in
the doc, there is a way to use different time formats with the date
validation. Why dublicate it? The only thing I need is the key I have
to use in the array.

Regards,
Sebastian

On 2 Dez., 12:35, deepesh <[EMAIL PROTECTED]> wrote:
> Hi Sebastian ,
>                         Why dont you try custom validation method
>
> http://book.cakephp.org/view/150/Custom-Validation-Rules
>
> you can easily make a function there and a small php code will be
> required there to chk right format.
>
> Best Regards,
> Deepesh Gairola
>
> Sebastian Göttschkes wrote:
> > Hi,
>
> > I want to use the "dmy"-value for the date validation. But I cannot
> > find which key I must use to pass the value.
>
> > Actually, my validation looks like this:
>
> > 'date' => array (
> >                    array(
> >                            'rule' => 'date',
> >                            'message' => 'Das Datum muss in der Form 
> > TT.MM.YYYY angegeben
> > sein',
> >                            'required' => true
> >                    )
> >            )
>
> > Thanks in advance.
>
> > Regards,
> > Sebastian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to