Limiting the number of months in the Appointment element

  • wkwan
    Asked on June 13, 2024 at 8:08 PM

    Hello,

    Is it possible to limit the number of months from the current date that people can select an appointment in the appointment widget? The current format is essentially infinite, allowing people to pick June 14, 2035, for example.

    Thanks,

    ---Wai

  • Christian JotForm Support
    Replied on June 13, 2024 at 9:18 PM

    Hello Wai,

    Thanks for reaching out to Jotform Support. It's not possible to limit the Months but not the Year in the Appointment element. But I recommend using the Configurable List widget, which would allow you to create a custom dropdown of your preferred months, days, years and time slot, as seen in the screencast of my demo below. This guide will show you how to set up the Configurable List widget:

    1. Configurable List widget.Limiting the number of months in the Appointment element Image 1 Screenshot 30
    2. Here's what the widget looks like on live mode. Limiting the number of months in the Appointment element Image 2 Screenshot 41

    If you need help with setting up the widget, please share more details about the availability, or which months, years, days, or time frames you want to be included in the each subfield inside the widget.

    Let us know if you need any more help.

  • wkwan
    Replied on June 13, 2024 at 10:54 PM

    Thank you for your suggestion, Christian. However, the Configurable List widget does not block out appointments that are already taken, unlike the Appointment element. That is important so we do not end up with multiple bookings on the same date and time slot. If there is a way to do that using the Configurable List widget, I would appreciate it being pointed out to me.

  • Jessica JotForm Support
    Replied on June 13, 2024 at 11:12 PM

    Hi wkwan,

    It's currently not possible to limit the number of appointment per months from the current date within Appointment element. You can only limit per time slot. Let me show you how:

    1. In Form Builder, scroll down and click on Appointment field.
    2. Click on gear icon.
    3. Click on Advanced tab.
    4. Under Appointment Type, click on Group.
    5. Enter your preferred number in the available input field.

    Limiting the number of months in the Appointment element Image 1 Screenshot 20

    If this doesn't quite fit your needs, can you confirm if the following feature would be what you're after?

    • Appointment is configured to accept only 15 appointments.
    • Once 15 appointments are booked in a month, all remaining days in that month will be blocked for new appointments.
    • Until the 15th appointment is booked, all the remaining available days in the month will be shown as available.

    If this sounds like the feature you would like to see, we would be happy to forward your request to the relevant team. However, it's important to note that we can't guarantee when/if this feature will be implemented, but we'll circle back to this thread when we have any updates.

    Once we heard back from you, we'll be able to move forward to the next steps.

  • wkwan
    Replied on June 13, 2024 at 11:40 PM

    Hi,

    I am not looking to limit the number of appointments per month. I am looking to limit how far out someone can book an appointment. In other words, I want to be able to set up so that, for example, the farthest out someone can book is three months. This way, no way can book an appointment more than three months from today.

  • Raymond JotForm Support
    Replied on June 13, 2024 at 11:50 PM

    Hi Wai,

    We can use the Rolling days option to set how far in the future can users book an appointment in your form. Let me show you how to do that:

    1. In Form Builder, click on your Appointment Field and on its Gear icon.
    2. Next, under the Limits tab, set Rolling Days to 90. Limiting the number of months in the Appointment element Image 1 Screenshot 20

    That's it. Give it a try and let us know if you need any help.

  • wkwan
    Replied on June 14, 2024 at 11:01 AM

    Thank you.

 
Your Answer