What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

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

    Asked by RMF  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
    JotForm Support

    Answered by Mike_G 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.