OK, my next question is ... should the date selection on the registration form ONLY be active once they have selected all three other criteria - type, region and city? This would require a little extra custom Javascript on the form, to disable the date element unless the other three options are selected. We can't really provide available dates, if they haven't selected all three of those.
So ... before we can proceed, you need to sort out storing the event ID when the registration form is submitted. This will probably require a form submission script, which does a lookup on the events table to match the type, region, city and date to the actual event, and inserts that row id in to a hidden event_id join on the registration form.
You will also need to create some custom validation as well, to ensure that a submission is still valid. The issue being, even if we only show available dates on the registration form, you may have more than one person using the form at the same time. So two users both load the form at the same time, pick the same event, and submit ... and the first submission may fill up the available spaces. So although there was available places when the second user filled out the form, by the time they submit their form, those spaces are gone.
As you can see, this is not a trivial task. Here's a summary:
1) Custom PHP to store the event ID with the registration form.
2) Custom Javascript to only enable date selection when type, region and city are selected.
3) Custom PHP validation.
4) Custom PHP and Javascript code to build the available dates data.
5) Custom Javascript to handle the actual date availability in the date selector.
Off the top of my head, I''d say that's at least half a days work. I'll have to talk to Rob, to see if we think that is reasonable as part of a Pro sub, or whether we'd have to charge for at least some of it as additional custo dvelopment work.
-- hugh