Re: Unobtrusive Javascript validation

2011-03-11 Thread AD7six
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

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

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.

Re: Unobtrusive Javascript validation

2011-03-11 Thread AD7six
On Mar 11, 5:27 pm, Karl Oakes kfoa...@gmail.com wrote:  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

Re: Unobtrusive Javascript validation

2011-03-11 Thread Miles J
Cake doesn't have any JS validation, so I am a bit confused here. On Mar 11, 8:48 am, AD7six andydawso...@gmail.com wrote: On Mar 11, 5:27 pm, Karl Oakes kfoa...@gmail.com wrote:  If I were handcoding a site I would normally create my own js validation script or use a jQuery validate

javascript validation

2010-04-16 Thread chandrasekhar reddy
hi frns can any one help me how to validate javascript from clint side and how to pass the variables through javascript. 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

$ajax-form() and javascript validation

2009-05-29 Thread Celso
Hi! how can I do a simple validation in my form: echo $ajax-form('adicionar','post', array('model'='Cargo' , 'update'='ajax-mensagem' , 'complete'= Effect.Pulsate('ajax-mensagem'); , 'id' = 'form-inclusao'

Automatic JavaScript Validation for select box

2009-03-03 Thread kaushik
I am using Automatic JavaScript Validation. For a mandatory select box, i am using the following code: var $validate = array( 'blogCategoryId' = array( 'required' = array('rule' =array ('allowEmpty',false), 'message'='Please select Blog Category

Re: Automatic JavaScript Validation for select box

2009-03-03 Thread Matt Curry
/validation). Patches are always welcome as well :) -Matt http://www.pseudocoder.com On Mar 3, 7:10 am, kaushik kaushikwo...@gmail.com wrote: I am using Automatic JavaScript Validation. For a mandatory select box, i am using the following code:   var $validate = array(         'blogCategoryId

Re: Automagic JavaScript Validation

2009-02-26 Thread majna
'range' is for numeric values, not strings like your display name. use array('between', 5, 15) On Feb 26, 8:00 am, kaushik kaushikwo...@gmail.com wrote: I am using Automagic JavaScript Validation. for password i am using this code: 'password' = array(                 'required' = array

Automagic JavaScript Validation

2009-02-25 Thread kaushik
I am using Automagic JavaScript Validation. for password i am using this code: 'password' = array( 'required' = array('rule' = array('minLength', 7), 'message'='Minimum Length of Password is 7'), ) It is working perfectly. but for another field I want to maintain

Re: Automagic JavaScript Validation Helper - Beta integration problem

2008-10-11 Thread bookme
Same problem I am facing? Ant body have any solution? On Aug 21, 10:52 am, Pascal Messana [EMAIL PROTECTED] wrote: I am facing the same problem. I just posted on the author page :http://www.pseudocoder.com/archives/2008/02/17/automagic-javascript-v... If you solved this problem, can you

Re: Automagic JavaScript Validation Helper - Beta integration problem

2008-08-21 Thread Pascal Messana
I am facing the same problem. I just posted on the author page : http://www.pseudocoder.com/archives/2008/02/17/automagic-javascript-validation-helper-beta/#comment-2842 If you solved this problem, can you post the solution then ? Thx kaushik a écrit : I am facing problem to integrate

Re: Ajax validation vs Javascript validation?

2007-12-01 Thread Marcin Jaworski
after submition, but I assume you already know that (JS can be turned off). On 1 Gru, 07:16, Action [EMAIL PROTECTED] wrote: Quick question: I need to validate a form but I don't need to compare any of the fields to the database. Is it better to use ajax validation with the model or javascript

Ajax validation vs Javascript validation?

2007-11-30 Thread Action
Quick question: I need to validate a form but I don't need to compare any of the fields to the database. Is it better to use ajax validation with the model or javascript validation? and why? --~--~-~--~~~---~--~~ You received this message because you