I have a form for a restaurant which has specific closing times depending on the day of the week. Monday to Thursday, the last reservation is 7.30 pm and Friday and Saturday it is 8.30 pm.
I am looking to add logic to the form so that if the user picks a date on say a Wednesday, the time field will only allow booking up until 7.30 pm, whereas if the user books a date on a Friday the time field will allow booking up until 8.30 pm.