Hi Jarno,
That’s a great question!
The first thing I should highlight is that for custom development tasks like this one we tend to be pretty limited in terms of just how much detail we can go into. That said, I’d be happy to point you in the right direction if I can 🙂
In terms of validating fields and throwing custom errors, this knowledgebase article may be a help:
theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form
It doesn’t cover modifying submitted values but given your objectives it is definitely worth reading. In terms of altering the events after submission, you may also be interested in the following hooks:
- tribe_community_event_created (for new events)
- tribe_community_event_updated (for pre-existing events)
By adding your own callbacks for these actions (the event ID of the relevant post will be passed to your callback) you can take further action and potentially modify the saved post and its post meta data if you wish to do so.
Again, this is a fairly bespoke customization to make so we can’t go into too much depth, but hopefully this will be enough to get you started.
Good luck!