How to Disable a Specific Time Slot from based on the Selected Time Slot from Another Appointment Slots Widget

  • lucimaranakata
    Perguntado em 8 de fevereiro de 2024 às 06:29

    Olá, gostaria de saber se é possível criar 02 campos de agenda com duração diferentes e se um deles for agendado o horário fique bloqueado no outro. Exemplo, tenho um campo de agendamento com duração de 1h30 iniciando as 9h e outro campo de agendamento com duração de 3h iniciando as 9h. Se o usúario marcar o campo de 3h iniciando as 9h, o horário fique bloqueado na agenda que tem duração de 1h30 também, pensando que a agenda é da mesma pessoa, porém é possível ter dois tipos diferentes de agendamento.

  • Silvano Jotform Support
    Respondido em 8 de fevereiro de 2024 às 09:04

    Hi Lucimara,

    Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Portuguese, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Are you trying to allow your form fillers to select multiple appointment in one submission? If so, unfortunately, currently selecting multiple appointments in one form is not possible. But, you can accomplish this with a workaround. You can meet your requirements by adding a multiple choice field and multiple hidden appointment fields. Then add Show/Hide Field condition to display an appointment field depending on the selected number of appointments. Let me walk you through the steps:

    • In the Form Builder, click on + Add Form Element.
    • Now, add the Multiple Choice element to your form and add appointment fields.

    1674076536 63c86178e80d5  Screenshot 10 Screenshot 10 Screenshot 10

    • Next, add the number of Appointment fields you wish to add.
    • Now, click on Settings and click on Conditions on the left panel.
    • Next, click on the Show/Hide field condition.
    • Then, add and edit Show/Hide field conditions as your multiple choice question has.

    1674076894 63c862de5f3e3  Screenshot 32 Screenshot 21 Screenshot 21

    That's it. Give it a try and let us know if you have any other questions.

  • lucimaranakata
    Respondido em 8 de fevereiro de 2024 às 09:49

    This is my form: https://form.jotform.com/240376003873656

    If I select "Mobiliado" the "Agendamento 3h" field is visible if I select "Não mobiliado" the "Agendamento 1h30" field is visible. But the issue is that this agenda refers to the same person, that is, it is the same provider who will serve. So if I select a time in the "Agendamento 1h30" field, that time should not be available in the "Agendamento 3h" field. It would be possible?


    How to Disable a Specific Time Slot from based on the Selected Time Slot from Another Appointment Slots Widget Image 1 Screenshot 20

  • lucimaranakata
    Respondido em 9 de fevereiro de 2024 às 13:20
    This is my form: https://form.jotform.com/240376003873656
    If I select "Mobiliado" the "Agendamento 3h" field is visible if I select
    "Não mobiliado" the "Agendamento 1h30" field is visible. But the issue is
    that this agenda refers to the same person, that is, it is the same
    provider who will serve. So if I select a time in the "Agendamento 1h30"
    field, that time should not be available in the "Agendamento 3h" field. It
    would be possible?
    How to Disable a Specific Time Slot from based on the Selected Time Slot from Another Appointment Slots Widget Image 1 Screenshot 20
    Lucimara Rios Nakata
    TECNOLOGIA DA INFORMAÇÃO
    lucimara.nakata@auxiliadorapredial.com.br
    Em sex., 9 de fev. de 2024 às 15:00, Jotform <noreply> escreveu:
    </noreply>...
  • Anna Jotform Support
    Respondido em 9 de fevereiro de 2024 às 15:48

    Hi Lucimara,

    Thanks for getting back to us. If I understood what you’re asking, if a time slot on the first Appointment Field is selected, the same time slot on the second Appointment field should be disabled. If yes, unfortunately, the feature you're looking for isn't available at Jotform right now

    It is not possible to disable a time slot on another Appointment field based on the selected time slot from another Appointment field. There are currently no workarounds for this.

    We've gone ahead and escalated your request to our developers, but when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll circle back to this thread and let you know.

    Thanks for your patience and understanding, we appreciate it.