SKIP VALIDATING FIELD FROM HIDDEN DIV?

Jayden Bell

Total Post:110

Points:774
Posted by  Jayden Bell
 1173  View(s)
Ratings:
Rate this:
i tried with this code:

$('#myFormId').validate({

        ignore: ":hidden"

    });

but this code does not give desire out put.

  1. Kamlakar Singh

    Post:194

    Points:1396
    Re: Skip validating field from hidden div?

    try this code:

    <script>

        $('#myFormId').validate({

            ignore: ".hidden"

        });

    </script>

    <style>

        .hidden

        {

            visibility: hidden;

        }

    </style>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!