added ability to require field if another field absent