Make products with an end date disappear afterwards

Hi,
I have created training courses as products.
These training sessions have a specific date.
In the form, the customer can choose the desired training from a multiple-choice list.
When the date of a training has passed, I want that product (that training) to automatically disappear from the selection list.

Is that possible with the current version of Forms?

Replies are visible only to logged in members with an active subscription.