Why is it the interpretation results on my form not following my conditioning logic?

  • palabaokristelmae
    Asked on June 25, 2024 at 2:33 AM

    Why is it the interpretation results on my form not following my conditioning logic? Say example, on my conditioning logic, if someone scores 14 in Stress factor, then it should be interpreted as as having low levels of symptoms. I already formatted my conditioning logic accordingly, but it's not showing the right interpretation according to their score.

  • Sheena JotForm Support
    Replied on June 25, 2024 at 2:50 AM

    Hello Kristel,

    Thanks for reaching out to Jotform Support. It seems like the condition is not set up properly. If the stress factor is 14, then it will meet all the conditions below:

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 30

    If the ranges you set are correct and it need to meet all the scores, you need to change "ANY" to "ALL" in "If ___ of the 'if rules' are matched."

    Why is it the interpretation results on my form not following my conditioning logic?  Image 2 Screenshot 41

    Give it a try, and let us know if you need any other help.

  • palabaokristelmae
    Replied on June 25, 2024 at 3:24 AM

    I tried it. I submitted a sample filled form, scores for Depression and Anxiety matches my expected interpretation but for my stress factor, it didn't. A score of 6 for Stress should interpret as this, "Low levels of symptoms. Routine self-care and monitoring might be sufficient" and not as this, "Symptoms may be significant enough to interfere with daily functioning. It's advisable to seek guidance from a healthcare provider or mental health professional to prevent symptoms from worsening".

  • Chris_L JotForm Support
    Replied on June 25, 2024 at 3:52 AM

    Hi Kristel,

    In your reply, you mentioned that if the Stress score is 6, it should be interpreted as Low levels of symptoms. In the conditions you set, there are multiple conditions related to Stress. The IF conditions are set to Greater Than or Less Than, no condition mentioning 6.

    As I reviewed the conditions you set, I can see that the conditions I took a screenshot below is contradicting:

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20

    If you check the conditions, the Stress says Less Than 26 and Less Than 19 - note that Anxiety and Depression conditions has same value. But, if you check the custom message, the first condition says Stress is significant while the second condition says Low levels. Can you review all the conditions and make sure that they are not conflicting to each other?

    Reach out again if you need any other help.

  • palabaokristelmae
    Replied on June 25, 2024 at 4:08 AM

    Can I specify the numbers instead for a particular interpretation and use the "contain" function? for example:

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20

    Will this still read if the user scored 6?

  • Chris_L JotForm Support
    Replied on June 25, 2024 at 4:24 AM

    Hi Kristel,

    Unfortunately, that will not work. We can help you create the condition if you can share the exact steps/conditions and the result that you want to get.

    Once we hear back from you, we'll be able to help you with this.

  • palabaokristelmae
    Replied on June 25, 2024 at 4:39 AM

    Here is my basis for my interpretation versus the scores in each factor.

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20

  • Jeric JotForm Support
    Replied on June 25, 2024 at 4:42 AM

    Hi Kristel,

    I understand your goal, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

    Thanks for your patience, we appreciate it.

  • Jeric JotForm Support
    Replied on June 25, 2024 at 11:06 PM

    Hi Kristel,

    Please know that I am still working on building the conditions based on your interpretation versus the scores. I'll get back to you as soon as I can.

  • palabaokristelmae
    Replied on June 26, 2024 at 12:01 AM

    Thank you for the assistance. I'm still waiting.

  • palabaokristelmae
    Replied on June 26, 2024 at 8:14 PM

    Any updates Sir?

  • Jeric JotForm Support
    Replied on June 26, 2024 at 9:24 PM

    Hi palabaokristelmae,

    The problem with your conditions is that the score range is not specified. For example, in your condition number 2, it says if Stress is less than 26, that means all scores from 1-25 are covered, and based on your interpretation, 19-25 and 0-18 are different interpretations. To fix this, you must specify the score range per condition. For your condition number 2, this should be the correct condition.

    1. If depression is less than 21 and greater than 13.
    2. If Anxiety is less than 15 and greater than 9.
    3. If stress is greater than 25.

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20

    As you can see, there's a range that will make sure to set them apart from other score ranges. As I mentioned above, if you just state greater than 14, then it'll cover 15 and above scores, which also affects the other score ranges. The key to your condition is specifying the score range to make sure that there's no conflict with other conditions.

    Give it a try and let us know if you need any help.

  • palabaokristelmae
    Replied on June 26, 2024 at 10:40 PM

    Already followed your steps. At first try, it displays a correct interpretation. Then the next tries, i now displays like this: Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20


    Only 1 factor was shown. How come?


  • Sheena JotForm Support
    Replied on June 26, 2024 at 11:30 PM

    Hi Kristel,

    I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.

  • Sheena JotForm Support
    Replied on June 26, 2024 at 11:47 PM

    Hi Kristel,

    To my understanding, there would only be 3 interpretations based on Stress, Depression, and Anxiety score. However, I am seeing multiple conditions aside from the ranges you have shown in the table. Here's what is showing on my end:

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20

    Can you please provide the complete basis of the scoring so we can check? Are there any irrelevant conditions that are active? If so, kindly disable them.

    After we hear back from you, we’ll have a better idea of what’s going on and how to help.

  • palabaokristelmae
    Replied on June 27, 2024 at 1:05 AM

    Here is my basis:

    Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 20Low levels Possible results of the user could be as follows: Low levels of symptoms in Depression and Anxiety but had Significant Emotional Distress in Stress or could be Symptoms may be significant enough in Depression and had low level of symptoms in Anxiety and Stress. So what I did was to put all matches possible, that's why I have 27 conditions.


  • Raymond JotForm Support
    Replied on June 27, 2024 at 2:25 AM

    Hi Kristel,

    I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.

  • Raymond JotForm Support
    Replied on June 27, 2024 at 2:53 AM

    Hi Kristel,

    Instead of having multiple conditions for your thank you page, it will be easier to create 3 long text fields, populating them conditionally, and showing them on your thank you page. Let me walk you through it:

    1. In Form Builder, add three long text fields.
      Why is it the interpretation results on my form not following my conditioning logic?  Image 1 Screenshot 50
    2. Next, click on Settings and Thank you page, then customize them like so:
      Why is it the interpretation results on my form not following my conditioning logic?  Image 2 Screenshot 61
      You can use the Add Field button to add the 3 new long text fields on your thank you page.
    3. Then, in Conditions, select all your Change Thank you page conditions and disable them using the Disable button.
      Why is it the interpretation results on my form not following my conditioning logic?  Image 3 Screenshot 72
    4. Finally, create 10 new Update/Calculate conditions similar below:
      Why is it the interpretation results on my form not following my conditioning logic?  Image 4 Screenshot 83

    That's it. Feel free to test this cloned demo form or clone it to your account to inspect it further.

    Give it a try and let us know if you need any help.

  • palabaokristelmae
    Replied on June 27, 2024 at 3:14 AM

    Thank you so much. Finally, got what I wanted.

 
Your Answer