[jQuery] Re: (validate) Radio button values

2009-06-28 Thread Mac
Heya Matt Looks like you have created the custom method for the validation, but you are not calling it anywhere. You are still setting the validation method to be the default "required". You need to add the method as a class to the element (as you did originally) or specify it as a rule in the $.

[jQuery] Re: trigger validation by input:button

2009-06-23 Thread Mac
Hi Matt I came across the same issue when I tried to create a wizard. I overcame this by doing the following: Write a validator extension that looks something like this and use the add method to add it: $.validator.addMethod("step", function(value, element, param) { var isValid = true;

[jQuery] [validate] multiple labels per form element

2009-05-27 Thread Mac
On May 28, 6:00 am, Fountain Internet wrote: > I think you misunderstand what I'm trying to do. The plugin > automatically inserts the second label - what I was trying to do was > get it to use a instead of a , preferably without > forking the code. > > On May 27, 8:24 pm, waseem sabjee wrote

[jQuery] Re: errorClass not set until after invalidHandler is called

2009-04-02 Thread Mac
Hi The validator plugin contains errorList and errorMap properties. The erorrList contains the invalid elements and the respective messages and the errorMap contains the invalid element id and it's associated error message. Perhaps checking these will assist with determining the invalid element.

[jQuery] Re: jQuery Validation Plugin & ASP.NET

2009-03-24 Thread Mac
Hi You are not placing the # in front of the form id as jquery requires. I do that all the time!!! On Mar 24, 12:26 pm, Zach wrote: > I've tried to get this to work for the past 4 hours and I'm stuck. > > I've got a master page with the following scripts added. > >     >     > > this is the f

[jQuery] Re: How to disable submit button until form is fully validated

2009-03-17 Thread Mac
The validate plugin has a success option that enables customization of the valid fields on the form It takes a string or a function. In the validate plugin documentation the example is used to add a class to the label, but since it's a function, you could make it do ...anything. eg. $("#myform")

[jQuery] Re: validate plugin (validate elements)

2009-03-17 Thread Mac
$.validator.addMethod("div", function(value, element, param) { var IsValid = true; var booleanFlag; var elements = $(param).find(":input") .not('input[type=hidden]') .not(":submit, :reset, :image, :button, [disabled]"); for (var i = 0; i < elements.length; i++) { if

[jQuery] Ajax in IE doesn't return result

2008-06-07 Thread mac
Ajax in IE doesn't return result, and display error :( In other browsers everythink is ok? what can it be?

[jQuery] IE6 and 7 Validation Issues when used with Form plugin

2008-05-14 Thread Joe Mac
For some reason I am unable to gte my from to submit in IE6 and IE7.I am pullling my hair out because it works fine on Safari and Firefox 2.0. I've tried the different solutions that were suggested like changing the Encoding, but it hasn't worked for me. Any help will be much appreciated. Here is