• Resolved asfarasng

    (@asfarasng)


    Hello.

    1. I’m trying to create an appointment form. Available time slots are 9am, 10am, 11am and 12pm, with each appointment being 30min. When a form is submitted, I want to use the Inventory feature to expire any time slot that was selected (each slot has a stock level of 1). Is there a way I can reset all expired slots in a particular form to 0 (zero) at 12am every day? This is so the form can be reused the next day.
    2. That being said, how would multiple visitors book appointments for a future date, using this one form?
    3. I’m going this route because Fluent Forms, with or without Flatpickr, doesn’t have a way to prevent duplicate appointment dates and times, time clashes, or overlaps.
    4. Or is there a better way to achieve this?

    Thank you.

Viewing 1 replies (of 1 total)
  • Hi @asfarasng,

    FluentForms doesn’t have booking feature to it isn’t possible to prevent duplicate appointment dates. We do have plans to create a separate plugin for the booking features which will have integrations with FluentForms. But, for now, you can create simple appointment forms using the FluentForms date picker but any advanced booking feature won’t be possible.

    If you would like to allow the visitors to only select future dates, then that is possible using a code snippet from Flatpickr. You can use the following code in the advanced date configuration section of the date field to prevent any past dates –

    {
        minDate: "today"
    }

    Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Prevent duplicate appointment times’ is closed to new replies.