Friday, August 27, 2010

Re: Data validation before submit

ah! sorry. i wanted to ask regarding client-side form validation.
apparently, this can't be done with cake. if it can be, please lemme
know how.

On Aug 27, 8:25 am, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> See:http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
>
> if ($this->Model->validates()):
>
> or, from within the model of the data you want to validate...
>
> if ($this->validates()):
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 26 Aug 2010, at 22:39, sanedevil wrote:
>
>
>
> > heya!
> > is there a way to validate the data before submission using Cake?
>
> > Thanks!
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en- Hide quoted text -
>
> - Show quoted text -

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: