do not test required fields if they are hidden