We are working on our web projects with Drupal 8 and WebForm. Now we have a small problem ...
We have a webform that allows people to sign up for a workout. We would need to provide dynamic dates, so that the exercisers can register at that time.
Starting position: There are different groups that have a workout at different times. There is a fixed number per workout group. That can not be exceeded. People can sign out or sign in.
When a workout group is full, no one can register. Therefore, we must provide a selection of possible dates. This must be reprocessed every day.
Our problem: How can we create a dynamic ad on WebForm before viewing? Using element types, templates, preprocess or any else? Any hints or tips?