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 $.
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;
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
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.
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
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")
$.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
Ajax in IE doesn't return result, and display error :(
In other browsers everythink is ok?
what can it be?
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
9 matches
Mail list logo