[jQuery] forms validation problem

[jQuery] forms validation problem


dear all,
I'm new with Jquery and now I want to use it for validate forms. I
build site with django.
The problem is the error message cannot show up. my code as following
below:
$(document).ready(function(){
$('#updateForm').validate({
rules:{
email:{
required: true,
email: true
}
}
message:{
email: "e-mail field is required"
}
}).addClass("error");
});
kindly advice and thank you for your kind help
best regards,
-mila-





















    • Topic Participants

    • mila