Can you disable toggle answers if a specific answer is chosen?

  • Profile Image
    Nicolas 
    Asked on April 20, 2017 at 12:10 PM

    For example, we have a question for four dates as button options and then a fifth option that says "I cannot do any of these dates but keep my in mind for the future!"

    If that last option is selected, is there a way to have that UNcheck any previous dates that were selected?

  • Profile Image
    BJoanna
    Answered on April 20, 2017 at 01:59 PM

    If your users should chose only one option then I would suggest you to use radio button (single choice) field. 

    If you need to allow your users to select multiple dates, then I woulds suggest you to use two fields. First field with date options and second field with "I cannot do any of these dates but keep my in mind for the future!" option. You can then clear selected options of first field if second field is filled. 

    I have set one condition to clear selected options.

    Here is my demo form: https://form.jotformpro.com/71095624251958  

    Feel free to test it and clone it.

     

    Hope this will help. Let us know if you need further assistance.

  • Profile Image
    Nicolas 
    Answered on April 21, 2017 at 04:43 AM
    Thanks! This helped a lot.
    Would it be possible to create a pathway whereby if someone first selected
    a date by mistake, then selected the field saying that they can't judge, it
    would empty the date radio buttons? I've tried but it keeps creating a
    loop that won't allow anything to be selected.
    ...
  • Profile Image
    Sven
    Answered on April 21, 2017 at 05:23 AM

    You can create a condition to only show the date selection if "Yes- Let me pick my dates is selected", and hide it if "I can't judge..." is selected, this will eliminate the possibility of users selecting dates by mistake. I have cloned your form and set up a condition to achieve this, the condition looks like this:

     

    When run, this condition will achieve this result:

     

    You can also set a condition to disable the date fields if "I can't judge is selected", in a similar way, but with using the ENABLE/DISABLE option, meaning it will show the dates, but they will be grey-ed out and the user won't be able to select. 

     

    Here's my version of your form, with the condition above applied, you can clone it and use it if you like:

    https://form.jotformpro.com/71102167031945

     

    Here's how to clone forms to your existing account:

    How-to-Clone-an-Existing-Form-from-a-URL

     

    Thank you. 

  • Profile Image
    Nicolas 
    Answered on April 21, 2017 at 10:43 AM
    Ah ha!
    Thank you!!
    Sent from my iPhone7 Plus
    ...
  • Profile Image
    Nicolas 
    Answered on April 21, 2017 at 03:43 PM
    Hi, yet another question ... are all forms now responsive by default? Or
    do you still need to activate that feature? If so, where does one do that?

    ...
  • Profile Image
    Kevin_G
    Answered on April 21, 2017 at 07:55 PM

    Nicolas, 

    In order to assist you better I have moved your question to another thread, we will assist you here: https://www.jotform.com/answers/1125909 

  • Profile Image
    Nicolas 
    Answered on April 23, 2017 at 04:43 PM
    Hi. Quick follow-up question about this. On your demo form, when you
    select dates and then select the second field option ("I cannot do...") it
    does clear the dates above. However, if you then go back and select dates
    it allows you to have both a date and the "I cannot do..." options
    selected. Is there a way to prevent that from happening?
    ...
  • Profile Image
    jonathan
    Answered on April 23, 2017 at 05:52 PM

    You can test again my demo form https://form.jotformpro.com/71126479944970

    As you can see, it is no longer possible to have both date and the "I cannot do..." option on the form before submission.

    I fixed that in the form Settings by assigning Clear on Hidden for fields that were being hidden by conditions.

    Like this...

     

    Let us know if you need further assistance.