Refer this Stack overflow post for the solution

http://stackoverflow.com/questions/1802177/jquery-validation-only-for-visible-controls

Pasting code from the post below

$("#registerform").validate({ignore:":not(:visible)"});