How do I select multiple options of field based on selection of two different fields?

  • simplehome
    Asked on March 12, 2018 at 7:52 PM

    Hello,


    At this form- https://www.jotform.com/build/80684477484168#preview I am trying to create a rule that says if # of units is 4 or above, then it clicks "salt" on the "maintenance needs" question.  However, I'm also trying to copy the "utilities included" answers to the "maintenance needs" question.  If I click on 4 units, then salt is clicked, but then if I choose an option from "utilities included" it overwrites the salt option.

  • John_Benson
    Replied on March 12, 2018 at 9:56 PM

    Is the issue resolved? I tried it and I was not able to replicate the issue. It did not overwrite the Salt option from the Maintenance Needs field after choosing a random option from the Utilities Included field.

    Here's a screen capture of my test:

    1520906086Condits 001 Screenshot 10

    If you're referring to a different field or issue, please contact us again and provide more details. To post a screenshot here in JotForm, please follow this guide: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum

    Thank you.

  • simplehome
    Replied on March 12, 2018 at 10:12 PM

    That is because "water" is not an option for maintenance needs.  If you have it set for "4 units" and click "snow sidewalks", salt disappears.

  • Kiran Support Team Lead
    Replied on March 13, 2018 at 3:47 AM

    I have checked your JotForm and see what you mean. Since the result field is the same for different conditions, it is overriding the value. Please allow me some time to check this up for you and get back to you with relevant information.

    Thank you for your patience.

  • Kiran Support Team Lead
    Replied on March 13, 2018 at 5:19 PM

    Thank you for your patience. As I check the conditions, it didn't work with separate fields since the conditions are overriding to select the options for maintenance needs field. However, as a workaround, we can add the 'Salt' option to 'Utilities Included' field.

    1520975453Selection 075 Screenshot 10

    This Salt option can be hidden by adding the following CSS code to the form.

    #cid_11 span:nth-child(10) {

        display: none;

    }

    I have added a new condition to the form to select the Salt option in 'Utilities Included' field when the number of units is more than 4.

    1520975598Selection 076 Screenshot 21


    Since the Utilities included options are already being passed to Maintenance Needs field, I haven't changed anything on this.

    Please see the screencast of the form with the above changes:

    1520975847Peek 2018 03 14 02 46 Screenshot 32

    Here is the cloned version of your form with the above changes:

    https://form.jotform.com/80716594548973

    Please get back to us if you need any further assistance. We will be happy to help.



  • simplehome
    Replied on March 13, 2018 at 5:44 PM

    Thank you for your help!