Re: Data validation before submit

2010-08-28 Thread sanedevil
Thanks Sam. I think i'll settle on jquery validation. i hope cake
integrates jquery validation.

On Aug 28, 2:56 am, Sam  wrote:
> 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  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
>
> >  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.organdhelpothers 
> > > > 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+unsubscr...@googlegroups.com For more options, visit this 
> > > > group athttp://groups.google.com/group/cake-php?hl=en-Hidequoted 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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Data validation before submit

2010-08-27 Thread Sam
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  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
>
>
>
>  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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Data validation before submit

2010-08-27 Thread sanedevil
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
 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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Data validation before submit

2010-08-26 Thread Jeremy Burns | Class Outfit
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.com
http://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 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Data validation before submit

2010-08-26 Thread sanedevil
heya!
is there a way to validate the data before submission using Cake?

Thanks!

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en