Is it possible to set one of two input

Is it possible to set one of two input fields as mandatory. Like the user has to pick one at least
Was this page helpful?