[jQuery] Validate.js problem

[jQuery] Validate.js problem


Hello,
I'm using the validate.js plugin.
I am using the following code:
$("#order").validate({
             errorLabelContainer: $("#messageBox"),
                wrapper: "p",
                debug: true
            });
When my form has an error, I get the following error (in firebug):
could not find id/name for element, please check the element (see next
line)validate.js (line 195)
<input class="$v(required)" type="text" value=""
name="name_order">validate.js (line 196)
could not find any error labels for element
I have a div called messagebox, but I have not created any "error
labels" because I'd rather print out all the erorrs at the top of the
form.
I'm not really sure what I'm doing wrong here because I've never used
this plugin.
Can anyone give me some suggestions?
Thanks,
BJ Clark