Perhaps it says somewhere in the doc that the name attribute is
required but I sure as hell couldn't find it.  Anyway try adding the
name attribute with the same value as your id attribute for each form
element.  You should be relieved by what you find ;)

On Mar 23, 3:29 pm, Brendon Gleeson <brendon.glee...@gmail.com> wrote:
> Sorry I couldn't wait for my other post to showup, so I made a typo:
>
> <html>
> <head>
> <title>jQuery Validation test</title>
> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
> <script type="text/javascript" src="js/jquery-validate/
> jquery.validate.js"></script>
> <script type="text/javascript">
> $(document).ready(function(){
>     $("#poesForm").validate({
>         rules : {
>             name: {
>                    required : true
>            }
>         }
>     });
>
> });
>
> </script>
> </head>
> <body>
> <form id="poesForm">
>     <input type="text" id="name" class="required" />
>     <input type="submit" />
> </form>
> </body>
> </html>

Reply via email to