You use invalid identifiers, see
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29
That doesn't work anywhere.

You've also got trailing comma errors in your code, see eg.
http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/47771.aspx
That doesn't work in IE.

Jörn

On Tue, Sep 2, 2008 at 5:53 PM, turbodurso <[EMAIL PROTECTED]> wrote:
>
> Thanks for having a look - i followed those demos those demos and been
> through the docs - still my form isnt validating or erroring ...
>
> The details are the following (this is all i have in the head section)
> - what am i missing???
>
>        <script>
>                $(document).ready(function() {
>                        $("#um-form").validate({
>                                rules: {
>                                        f-name: "required",
>                                        f-lastname: "required",
>                                        f-address: "required",
>                                        f-city: "required",
>                                        f-postcode: "required",
>                                        f-country: "required",
>                                        mail-contact {
>                                                required: "#f-mail:checked"
>                                                email: true
>                                        },
>                                        tel-contact {
>                                                required: "f-tel:checked"
>                                        },
>                                        mob-contact {
>                                                required: "f-mob:checked"
>                                        },
>                                },
>                                messages: {
>                                        f-name: "[required]",
>                                        f-lastname: "[required]",
>                                        f-address: "[required]",
>                                        f-city: "[required]",
>                                        f-postcode: "[required]",
>                                        f-country: "[required]",
>                                }
>                        });
>                });
>        </script>
>

Reply via email to