I made the Email validation from this link which works fine.
The problem is that in my setup, before client clicks submit, he is asked if he would like to receive the quote by email. If he clicks YES, through conditional logic, the VERIFY EMAIL field appears, where he has to fill in the correct(same) email as the first email field. (this works fine)
But, if client clicks NO, the form would not submit because of the email verification still “reads” through the PHP code and wont let submit if the email is not entered.