On Mar 10, 10:29 pm, Karl Oakes <kfoa...@gmail.com> wrote:
> 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.

What js are you referring to?

IME, as soon as you want anything more than absolutely trivial js -
you're best of doing it independently of your php framework.

> Does CakePHP provide an
> unobtrusive javascript option or do I need to code this myself, many
> thanks...

Personally, I'd implement that either as a simple js regex routine or
an ajax request to validate the field(s) on change and act
appropriately.

AD

-- 
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

Reply via email to