ignore required rule if the field is hidden