Required attribute for multiple conditions