How can I restrict the number of times a date is selected?

  • RMF
    Asked on March 27, 2017 at 5:32 AM

    I started creating a form that would allow a customer to book an appointment for a collection service and then select a date. The dates available to the user depend on the collection service, so I put a list of services in a drop down menu. This meant I was able to show them different restricted date fields based on the one selected. The problem I have is that I do not want to allow unlimited selection of the same date, and so would like to restrict the number of times a particular date is selected.

    For example, only 10 users could pick any given date, after which, that date would no longer be available.

    Is there any way of achieving this?

  • Mike_G JotForm Support
    Replied on March 27, 2017 at 6:01 AM

    Yes, this is possible with Jotform with the help of the Appointment Slot widget.

    How can I restrict the number of times a date is selected? Image 1 Screenshot 20

    You can create a condition on your form that will SHOW the corresponding Appointment Slot widget based on the selected option from a drop-down field (Collection Service).

    Related Guide: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    I hope this helps. If you need any further assistance, please feel free to contact us again anytime.

    Thank you.