prevent user from choosing the same date and timeslot in two appointments fields

  • Profile Image
    whenamanbakes
    Asked on October 14, 2021 at 03:57 AM

    Hi guys if i have 2 appointment fields and i want to prevent user from choosing the same date and timeslot in both fields, how can this be achieved with condition formatting? thanks

  • Profile Image
    Tommaso_F
    Answered on October 14, 2021 at 04:19 AM

    Hello there,

    I'm sorry, but I found no workaround to accomplish this. You may opt to use a single appointment field and ask users to submit the form twice—one for their 1st dose and another one for their 2nd dose.

    Thanks.

  • Profile Image
    whenamanbakes
    Answered on October 14, 2021 at 04:23 AM

    i think i can incorporate 2 appointment fields in 1 form which is less hassle to my users than 2 separate forms

  • Profile Image
    fatihkaan
    Answered on October 14, 2021 at 05:34 AM

    Hi there,

    As a workaround, you can add 2 hidden fields, conditionally copy the appointment field values to the hidden fields in order to check equality. So you can hide the submit button conditionally.

    Demonstration on the form: https://form.jotform.com/212862309089966

    1. In the form builder add a Short Text element and name it to indicate the value of session 1. Also, enable the Hide field option.

    1634203895_6167f8f7dc4a9_1.png

    2. Right-click the newly added field, duplicate the field and name it as session 2 value.

    1634203932_6167f91c4a42a_2.png

    3. Add a condition that copies Session 1 into session 1 value. Repeat the same process for session 2 as well.

    1634203945_6167f92905a8a_3.png

    1634203960_6167f938abd83_3.2.png

    4. Lastly, add another conditional to hide Submit button whenever the values of both fields are equal.

    1634203971_6167f9433828d_4.png

    5. Optionally, you can display a message to let the users know about the behavior. Add a hidden paragraph element to the form and edit the conditional.

    1634203980_6167f94cad073_5.png1634203985_6167f951e2e39_5.2.png

    Let us know if you have any questions.

    Thanks

  • Profile Image
    whenamanbakes
    Answered on November 24, 2021 at 02:43 AM

    ???


  • Profile Image
    Tommaso_F
    Answered on November 24, 2021 at 03:55 AM

    Could you please give us more details about your concern so we can assist you properly?

    Unfortunately, your description doesn't let us provide the best support. Could you please rephrase?

    We look forward to your response.

  • Profile Image
    Tommaso_F
    Answered on November 24, 2021 at 05:29 AM

    Hello there,

    Unfortunately, it's not possible to have a centralized calendar.

    Regards.

  • Profile Image
    whenamanbakes
    Answered on November 24, 2021 at 05:34 AM

    wld u have other solutions to my issue ? thank you

  • Profile Image
    Tommaso_F
    Answered on November 24, 2021 at 06:39 AM

    Hello there,

    We can forward this as a missing feature to our team. Jotform reviews all feature requests we get and we spend a lot of time researching and working on new features, but at the moment, I don't have any details on if, or when, this will be released as we don't have a public road map. Whenever we do release new features, we'll announce them to all interested customers. We appreciate your interest and input!

  • Profile Image
    whenamanbakes
    Answered on November 24, 2021 at 08:17 PM

    Hi thanks for reply wld u have a workaround for my issue instead of waiting for te team to devleop a solution thanks


  • Profile Image
    Tommaso_F
    Answered on November 25, 2021 at 02:01 AM

    Hello there,

    Unfortunately, we don't have a workaround.

    Do not hesitate to contact us for further support.

    Regards.