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