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

  • Profile Image
    RMF 
    Asked on March 27, 2017 at 05: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?

  • Profile Image
    Mike_G
    Answered on March 27, 2017 at 06:01 AM

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

    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.