Schedule appointments with variable duration

  • gregharring
    Asked on September 22, 2021 at 11:36 PM
    Now, I need a way for the User to schedule the Date and that Total Time for the shoot, but it doesnt seem possible with the scheduling I have in the Form currently

    How can I have the User schedule the Date and the Total Time required for the shoot.

  • Vanessa_T
    Replied on September 22, 2021 at 11:47 PM

    I checked your form and I can see you are using an Appointment field.

    Please note that it is not possible to dynamically change the duration of the appointment field.

    If I'm not mistaken, you want users to schedule an appointment with the exact time duration as the shoot requested and be able to block that time in your calendar.

    I'm afraid it's not possible to get everything that you want.

    You may use a Date Picker so users can select the date, then use a Time field so users can select the start time and you can then calculate the end time based on the calculated shoot duration.

    How-to-Perform-Form-Calculation-Using-a-Widget

    Mastering-Date-and-Time-Calculation

    Then you can integrate Google Calendars so it adds to your calendar.

    How-to-use-google-calendar-create-events-with-your-form

    But, with this, you cannot control duplicate bookings on the same time slot.

    Now if you want to control the bookings, I can only suggest that you foresee the maximum or average shoot duration and use that duration as your appointment slot duration.


  • gregharring
    Replied on September 23, 2021 at 11:10 AM

    To confirm, is it true that a Form cannot sync with a Google Calendar in order to avoid double bookings?

  • Laura JotForm Support
    Replied on September 23, 2021 at 8:12 PM

    Hi,

    That is correct. The Google Calendar integration works currently only one way; it can push appointments from JotForm to Google Calendar, but it cannot pull already existing appointments to check the availability from Google Calendar.

  • gregharring
    Replied on September 25, 2021 at 4:43 PM

    ok thanks