patterns does not use jquery.validate anymore