Different required fields for different services

I have two services, and appointments are made for them on two separate pages, with the service-filtered schedules and obviously no dropdown.

For one of them, I need a phone number. For the other, I don’t, and don’t want to require it. Is there a way to set it up to do that in the appointment confirmation shortcode or elsewhere?