Re: Data validation before submit
In the past I've used ajax to send fields to the controller to
validate as they are changed- it is a bit slower than full client-side
validation but is way easier to maintain.
On Aug 27, 8:34 am, sanedevil <sanede...@gmail.com> wrote:
> 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.organdhelp 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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home