Unobtrusive Javascript validation

2011-03-11 Thread Karl Oakes
This is my first question so please be gentle... I am a complete noob with 
CakePHP, but I have used MVC frameworks before ( .Net MVC(1,2,3)). I love 
the validation rules that are setup within the model and the automagic 
client side validation that it provides, but the inline event handlers go 
against all that I have learned about JavaScript. Does CakePHP provide an 
unobtrusive javascript option or do I need to code this myself, many 
thanks...

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: Unobtrusive Javascript validation

2011-03-11 Thread Karl Oakes
 If I were handcoding a site I would normally create my own js validation 
script or use a jQuery validate plugin. I have just come from an ASP.net MVC 
3 learning curve that provides unobtrusive js by default. I was just 
surprised that CakePHP still produced inline js nastiness for validation. 
Remember I'm still a complete noob with CakePHP and will need to find out 
the best practise for performing js validation and overall js integration

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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