How do i force a check box to select based on an answer from a previous question.

  • Profile Image
    JWSWaste
    Asked on June 02, 2020 at 10:01 AM

    Using image check box you will see i have placed in a check box with images using the widget.

    I would like to know how to set the conditional logic so for example.


    If you select "work at height" in the first question  - it will automatically check the following check box images:


    - Safety Boots

    - Hard Hat 


    I tried to do this but its not showing the multiple selection options in the calculation fields.


    https://form.jotform.com/201532804680046


    many thanks 

  • Profile Image
    Jimmy_D
    Answered on June 02, 2020 at 10:37 AM

    Unfortunately, it is not possible to select an element in the image Checkboxes widget based on users' selection. This would only work on regular checkboxes. 

     Let us know if you have more questions. 

    Regards, 

  • Profile Image
    JWSWaste
    Answered on June 05, 2020 at 10:13 AM

    Thank you please can you explain how i do this on my form below?

     

    I want for example if the contractor click that teh permit they require is "work at height"

     

    That the following boxes are auto checked based on their answer:

     

    - Safety Boots

    - Hard Hat 

    - Safety Harness 

    - Radio Communication 

    https://form.jotform.com/JWSWaste/jws-permit-to-work

     

    Many thanks 

  • Profile Image
    Mianala
    Answered on June 05, 2020 at 11:33 AM

    We are looking into this possibility. We will get back to you as soon as possible.

  • Profile Image
    Mianala
    Answered on June 05, 2020 at 11:58 AM

    Upon checking, I have found that your form already has conditions related to your above request. 

    1591372604{A1F859BF-327D-44FD-93D1-9C9AA

    Let us know if you need further assistance.  

  • Profile Image
    JWSWaste
    Answered on June 05, 2020 at 12:18 PM

    yes thanks i figured it out - however when setting up two conditions e.g. when to condition ALL match , it throws off all the other conditions check boxes and over rules them.


    I have left the conditional logic in my form so you can see. 




  • Profile Image
    Richie_P
    Answered on June 05, 2020 at 01:29 PM

    I have checked your form and it seems you have set your options to be selected by default.

    15913781361.png

    Kindly remove the options selected so that the conditions will work.

    Please give it a try and let us know how it goes.

  • Profile Image
    JWSWaste
    Answered on January 08, 2021 at 08:53 AM

    Hi i am just updating this and i have removed the default checked items - however if i click both "electrical" and "ladders" for example in the "permit type required" field - it will remove calculated chcked boxed set up.


    E.G. Electrical - if selected will auto check "Isolate electrics" , however if ladders is also selected it un-checks "isolate electrics" when this should remain checked.


    Link to updated form below:

    https://eu.jotform.com/build/210072586887364#preview


    Im not sure why its doing this - i have checked through and cant see how - but its also doing it for other selections.

  • Profile Image
    ashwin_d
    Answered on January 08, 2021 at 09:29 AM

    I did check your form and found that you have added several conditions. Please note that when you add multiple conditions to insert / update value in the same field, one condition will always overwrite the updates of another condition.

    Can you please list all the question of which will update the multiple choice question, and we will take a look?

    We will wait for your response.

  • Profile Image
    JWSWaste
    Answered on January 08, 2021 at 10:24 AM

    IF - PERMIT TYPE REQUIRED - IS Equal too:

    • Work at Height (MEWB)
    • Electrical

    Check boxes (or calculate fields value):

    • Barriers
    • Safety Boots
    • Protection from falling objects
    • First Aid Controls
    • Gloves
    • Hard Hat
    • Safety Harness
    • Radio Communication with Banksman
    • Safety Glasses
    • High Viability clothing
    • Isolate electrics
    • No High winds
    • Area clear of waste
    • Item defect checked before use

    This is all in condition 9 - however wen both work at height and electrical are selected the following do not check:

    • Protection from falling objects
    • Safety Harness
    • Protection from falling objects
    • Radio Communication with Banks man
    • No High winds
    • Item defect checked before use

    Thanks

  • Profile Image
    JWSWaste
    Answered on January 08, 2021 at 11:00 AM

    even with "both" selected for the condition - it is still being overwritten by a single condition not included in the "both" selection. Please see condition 8 as an example. Although "both" are selected as a condition for the values to apply the check boxes its only picking up the values associated with "hotworks" and not "Work at Height"

  • Profile Image
    Richie_P
    Answered on January 08, 2021 at 12:23 PM

    It seems the issue is with your condition 6 or single conditions for your multiple choice field.

    1610126154_5ff8934a41c54_1.png

    When the option "Electric" is selected, two conditions are triggered, condition 6 and 10.

    Once condition overwrites the other.

    I would suggest you add another condition in your condition 6 to trigger the condition only when the option is not equal to the other 4 options.

    Here is a sample condition:

    1610126542_5ff894ce9bcc0_1.png

    Sample form:https://form.jotform.com/210074328526956

    Kindly check it out and let us know us know how it goes.


  • Profile Image
    JWSWaste
    Answered on January 11, 2021 at 11:30 AM

    i cant seem to get that to work - i have tried to input condition 6 but i am not getting the same outcome.

    Additionally this doesn't work when i select "hotworks" and "ladders" - one condition is still overwriting the other and i can not work out how.

  • Profile Image
    Jimmy_D
    Answered on January 11, 2021 at 03:13 PM

    What you can do is add additional rules to the conditions where if both work at height and electrical are selected, the following options will be checked. (additional rules make the conditions more specific and prevent conflicts between conditions.)

    • Protection from falling objects
    • Safety Harness
    • Protection from falling objects
    • Radio Communication with Banks man
    • No High winds
    • Item defect checked before use

    Example.- 1610395568_5ffcafb0af4e1_

    It is like having a conditional logic for each potential scenario.

    Demo.- https://form.jotform.com/210105305929953 (You can test this to see if it works like you need it to.)

    1610395880_5ffcb0e866e08_Iv2lxfk3E8.gif

    I hope my answer is helpful. Let us know if you need further assistance.

    Regards,

  • Profile Image
    JWSWaste
    Answered on January 15, 2021 at 11:31 AM

    i still cant get this to work - see condition 8 - When i select both electrical permit and ladders - its not selecting " isolate electrics"

  • Profile Image
    Jimmy_D
    Answered on January 15, 2021 at 01:02 PM

    Obviously, you need to apply the same principle to other scenarios where you will select 2 or 3 options. Create conditional logic with rules that makes it specific to a particular predictable scenario.

    Example:

    1610733412_6001d7640e9d2_

    You may test the demo form (https://form.jotform.com/210105305929953) again to see if there is anything else you need help with.-

    1610733649_6001d8513ef10_iUOxYXx0cs.gif

  • Profile Image
    JWSWaste
    Answered on February 18, 2021 at 07:54 AM

    i have done the above and its still not working !


    https://eu.jotform.com/build/210072586887364#preview


    e.g. if i click on hot works and work at height - instead of checking all that apply the hotworks requirements over rules teh work at height requirements.

    I have set up the logic as you have said and this still happens and i can not understand why when yours works in your demo.

  • Profile Image
    Cecile_A
    Answered on February 18, 2021 at 08:56 AM

    Hello there,

    Kindly allow me some time to conduct some tests.

    I'll get back to you shortly.

    Thank you.

    Please note that you can clone the demo form of my colleague:https://form.jotform.com/210105305929953

    Guide: How-to-clone-an-existing-form-from-a-url

  • Profile Image
    JWSWaste
    Answered on February 18, 2021 at 09:03 AM

    Hey - i think i have managed most of them now - there is just one which doesn't seem to work.


    When i click work at height and electric permit - "isolate electrics" should also be checked but it is not.

    This is the last one now that just doesn't seem to work :)

  • Profile Image
    Cecile_A
    Answered on February 18, 2021 at 09:20 AM

    Thank you for the update.

    Kindly add Isolate Electrics to your condition #9.

    Demo:

    1613657884_602e771c41047_5.gif

    Result:1613657884_602e771c57280_6.gif

    Let us know if you need further assistance.