I have a form where I need to do conditional validation for 3 field. These fields are Email, FirstName and LastName. So Email field text-box has value, I need not have to validate FirstName & LastName, I mean later 2 can be empty . If FirstName & LastName field have value, Email can be empty.
I am using HTML5 required attribute.
How to enable disable HTML5 required validator using jQuery ?