I have a booking app that ideally i’d like to create a records for each day a customer selects, at the moment it is only creating 2 - the start and end date however, in other parts of the app, I have a 20 block bookings option for the user which manually created 20 records which works well (this is because a discount is received in this case)
Ideally i’d like the customer to choose their start / end date of booking, and then calculate the number of days and use that number to create that many records. I’m assuming this can’t be done?
I don’t want to make users click every single day as there will be a lot of clicking. I also don’t want to give more ‘pre-set’ options such as 5 days, 10 days 50 days etc.