Hello tuxbox,
Thank you for reaching out. Currently, our free/basic version does not have this feature. However, our pro/premium version does include this feature, allowing you to add multiple events/calendars and restrict specific dates as needed.
Alternatively, you may be able to use JavaScript to disable specific dates on a date input field. Please note that this is just an idea and scripting is beyond the scope of our support.
Here is an example of how you can do this:
First, you need to get a reference to the date input field you want to modify. You can do this using the document.getElementById method:
var input = document.getElementById('my-input');
Next, you can use the addEventListener method to attach an event listener to the input element that listens for the input event. This event will be triggered whenever the value of the input field changes. Inside the event listener function, you can check the value of the input field and disable certain dates if necessary.
input.addEventListener('input', function() {
// Check the value of the input field and disable certain dates if necessary
});
To disable a specific date, you can use the setAttribute method to set the disabled attribute of the option element for that date to true. For example:
document.getElementById('date-option-id').setAttribute('disabled', true);
To enable a specific date, you can use the removeAttribute method to remove the disabled attribute from the option element for that date. For example:
document.getElementById('date-option-id').removeAttribute('disabled');
I hope this helps! Let me know if you have any questions.
Best,
Niel, Input WP Support Team