jQuery(function(){
jQuery('.ValidField').each(function(){
jQuery(this).validate({
expression: "if (VAL) return true; else return false;",
message: "Please enter the Required field"
});
});
jQuery('.ValidInteger').each(function(){
jQuery(this).validate({
expression: "if (VAL.match(/^[0-9]*$/) && V
On Mon, Mar 5, 2012 at 7:14 AM, Mohamad El-Husseini
wrote:
> Have you seen
> this? http://railscasts.com/episodes/263-client-side-validations
>
>
> On Sunday, March 4, 2012 7:08:34 PM UTC-3, Rajinder Yadav wrote:
>>
>> Hi I know with javascript we can validate the input of a form on the
>> client,
Have you seen this?
http://railscasts.com/episodes/263-client-side-validations
On Sunday, March 4, 2012 7:08:34 PM UTC-3, Rajinder Yadav wrote:
>
> Hi I know with javascript we can validate the input of a form on the
> client, is there an easy way to specify this in rails? I am thinking
> the jav
On Sun, Mar 4, 2012 at 6:07 PM, Dev Guy wrote:
> On Sun, Mar 4, 2012 at 5:08 PM, Dev Guy wrote:
>> Hi I know with javascript we can validate the input of a form on the
>> client, is there an easy way to specify this in rails? I am thinking
>> the javascript code getting generated using some sort
On Sun, Mar 4, 2012 at 5:08 PM, Dev Guy wrote:
> Hi I know with javascript we can validate the input of a form on the
> client, is there an easy way to specify this in rails? I am thinking
> the javascript code getting generated using some sort of DSL?
>
While looking around I did mange to come a
5 matches
Mail list logo