-
gregharringAsked on September 22, 2021 at 11:36 PM
-
Vanessa_TReplied 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.
-
gregharringReplied 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 SupportReplied 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. -
gregharringReplied on September 25, 2021 at 4:43 PM
ok thanks