Image Choices Widget - Why isn't the condition working?

  • WSIguy
    Asked on December 3, 2019 at 4:46 AM

    Hi,

    This form:
    https://form.jotform.me/93360513491455

    I have conditions to hide/show fields based on selections fro the Image Checkbox.

    It works fine if only selecting 1 box, but upon selecting multiple boxes, my conditions stop working and none are shown.

    This screencast illustrates everything:

    I am hopeful that I CAN select multiple boxes AND have my conditionals fire correctly.

    Best regards,

    Bruce

  • AshtonP
    Replied on December 3, 2019 at 9:08 AM

    Thank You Bruce, for providing detailed information on the issue.

    Let me run a few tests and get back to you with relevant information.

    Thank you for your patience.

  • AshtonP
    Replied on December 3, 2019 at 10:02 AM

    The widget's output also includes the question, so please use the Contains state instead of the Is Equal To.

    1575384921contains Screenshot 10

    I have checked your form and found that you have used multiple conditions, but instead you just need to apply 4 conditions in order to fulfill the requirements.

    Please find the cloned version of your form with modified conditions.

    Form Link: https://form.jotform.com/93363254639969

    1575385258modifies Screenshot 21

    Check the above-cloned form and Let us know if you need further assistance.

    Hope this will help.

  • WSIguy
    Replied on December 3, 2019 at 10:12 AM

    You. Are. Awesome!

    Never thought of using "contains", I think I didn't know it existed.
    Thanks for your help.

    Yeah, there are other conditions there as I am working off a cloned form.
    Also, FYI, I need 8 not 4 to fully achieve what I want, as I want to automatically set the value to 1 upon selecting a donation category.

    Thanks again. I am sorted for now.

    Regards,

    Bruce

  • AshtonP
    Replied on December 3, 2019 at 10:20 AM

    Hello Bruce, I am glad this has sorted your issue. Feel free to get in touch should you have further concerns.

  • WSIguy
    Replied on December 3, 2019 at 11:12 AM

    Hey,
    Back with another problem.

    Each item in the image checkbox is tied to a select field (where they can select 1-5).
    We use conditionals to set the quantity to 1 when the the image is selected. So, we show the select field AND have it pre-selected as 1.

    Everything is fine, EXCEPT, if we check a single image, and then select a quantity other than 1, AND THEN go and check another image, then the quantity of the first selection reverts back to 1.

    The user experience I hope is:
    Select a checkbox/image reveals the select field below, and that is preselected to 1.
    The user can select another quantity (2, 3 etc), if they want.
    Then, they can select another image and do the same process deciding the quantity.
    Checking other images/checkboxes should NOT affect previously selected fields.

    As it stands now, the user needs to first check all desired images, and then make any desired quantity changes. Checking or unchecking images makes everything revert to 1, which would annoy the user.

    I hope this is possible.
    You can see it in action at the form link I provided in the original ticket.

    Best regards,

    Bruce

  • Mike_G JotForm Support
    Replied on December 3, 2019 at 2:46 PM

    Considering your last reply in this thread is about another topic. I have moved it to a new thread to avoid confusion.

    Here's the link to the new thread. https://www.jotform.com/answers/2065170

    We will be responding to that thread shortly.