Dirty Bird Design
Dirty Bird Design

Reputation: 5543

jQuery validation error (element is undefined)

I keep getting the error

element is undefined var validator = $.data(element.form, 'validator'); on line 803 of jquery.validate.js

and cannot for the life of me figure out why. I have added a form wizard to this form. When I remove it, it works fine. If I leave the form wizard and remove validation, it works fine. But the two can't seem to work together. I've used them in the past and the set up is exactly the same.

Form is here: http://www.dirtybirddesignlab.com/purchaseForm.php

Can anyone please help?

Upvotes: 1

Views: 2566

Answers (1)

Kris Ivanov
Kris Ivanov

Reputation: 10598

the cause of your problem starts at line 67 in file formToWizard.js, the exact line is var xy = element.validate().element($(this));

Upvotes: 3

Related Questions