I’ve changed my code to create a booking system as described in you guides ‘date validation’ and it works great.
The thing I want to do, is that customers can select up to 6 dates. What happens, is that only the first date gets blocked. I’ve tried to change the code in functions.php by adding the other form field ID’s, but this didn’t work.