• Resolved Konstatninos

    (@skredlemon)


    Is it possible to set a minimum date of “+24 hours” instead of “+1 days”?

    With “+1 days” it is possible for a user to submit a form at 23:00 of today’s asking for a booking at 06:00 of tomorrow’s leaving me unable to react on time. Instead I would like to allow them to make a booking for the next day but 24 hours in advance. i.e. if they would come to the form at 23:00 of today’s, they should be allowed to make a booking for 23:00 of tomorrow’s at the earliest.

    Please advise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • niel.o

    (@nielorit)

    Hello skredlemon,

    Yes, It is possible to establish a minimum date requirement of “+24 hours” rather than “+1 day”. This will guarantee that users are unable to book less than 24 hours in advance. You have the option to specify both the minimum date and minimum time. You can refer to the attached screenshot to see where you can configure the time:

    https://share.getcloudapp.com/Qwu8Agml

    I hope that helps.

    Best,

    Niel, Input WP Support Team

    Thread Starter Konstatninos

    (@skredlemon)

    Hi @nielorit ,

    Thanks for the insight.

    Although it was not exactly clear from your answer, or the screenshot you provided, what should be the appropriate field to configure, I managed to find it (Time Offset). I set that to 1440 minutes (1440m = 24h) and removed the Minimum Date I had set before. It works wonderfully.

    The Minimum Time and Maximum Time fields I had already set to 07:00 and 18:00 respectively. The issue I would have with +1 days was that a user would submit a form at 23:00 for the 07:00 of the next day, leaving me no time to react. However I did not want to change the 07:00 to 18:00 time window, as that is the working hours of service. Hence why setting that alone would not be a good option in my case.

    Anyway, all is well now.

    Cheers!

    niel.o

    (@nielorit)

    Hello skredlemon,

    It’s great that you were able to find the appropriate field to configure and make the necessary adjustments to achieve the desired results. If you have any further questions or need any more assistance in the future, don’t hesitate to reach out.

    Best,

    Niel, Input WP Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘minimum date +X hours’ is closed to new replies.