[jQuery] [validate] plugin does not validate form at all...
Hi All,
I am trying to use the validate plugin to validate a form but it
does not work..Could you please let me know what i am doing wrong?
The page starts with a simple drop down asking for the user to
choose a category. Once the category is chosen, a div block becomes
visibile. WHen the user clicks submits the form, I would like to
validate the form only for the visible elements. Since I was trying to
figure out how to use the validate plugin i was just calling the
plain .validate() call without any rules.. even that does not work.. I
also tried removing the category selection and kept all the form
elements visible.. even then I was able to get it to work...
I am attaching the HTML code with the jquery validate call.. could
you please let me know what i should do to make this work?
Thanks!
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title> Validate </title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" /