SKIP VALIDATING FIELD FROM HIDDEN DIV?

Jayden Bell

Total Post:110

Points:774
Posted by  Jayden Bell
 1334  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>

      Modified On Apr-05-2018 06:33:36 AM

Answer

NEWSLETTER

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