How can I conditionally require a field?