Condition not working

  • Deralict
    Asked on January 15, 2015 at 9:29 PM

    I have two calculation fields on my form, "Final_result" and "BMI". I need to display and alternate URL for the thank-you page if the Final_result field is not zero, AND the BMI is between 19 and 33. I have created a condition that contains exactly this, but if I fill out the form such that these conditions are not met, the rule is not followed. Can tyou tell me what I'm doing wrong?

    Screenshot shows how the condition is configured.

    Jotform Thread 497258 Screenshot
  • jonathan
    Replied on January 15, 2015 at 11:16 PM

    Hi,

    I was able to replicate the problem when I test submitted your jotform http://www.jotform.ca/form/43351436352248

    I used this value to test

    Condition not working Image 1 Screenshot 30

     

    Condition not working Image 2 Screenshot 41

     

    Which should have a BMPI value qualified.

    But on submission it still go the custom URL 

    http://www.lifesprung.com/call/ instead of the Thank You page.

     

    Try separating the 'Final Result' outside the conditional for BMI.. I mean make 2x separate condition statement, instead of one with all 3 of the condition within.

    I will check also on my end if it will work as theorized. Will get back to you quickly.

     

    Thanks.

     

  • Deralict
    Replied on January 16, 2015 at 12:14 AM

    Actually, in your example showing the custom URL http://www.lifesprung.com/call/ was the correct action, because "Final_result" was not zero. Remember, I need to show the custom URL only when the Final_result field is not zero, AND the BMI is between 19 and 33.

    If Final_result >0 AND (BMI > 18.9 AND BMI < 33.1) 

    Then Show Custom URL.

    I created a separate condition for the Final Result so that now there are two conditions:

    1. If Final_result >0 then show custom URL

    2. If (BMI > 18.9 AND BMI < 33.1) Then show custom URL.

    And now it ALWAYS shows the custom URL regardless of what the Final_result and BMI fields are. I don't think the Conditions feature is working...

  • jonathan
    Replied on January 16, 2015 at 2:12 AM

    Sorry for the delays.

    I did test the original conditional statement on this test form http://www.jotformpro.com/form/50148463653961

    Condition not working Image 1 Screenshot 40

     

    It work as intended.

    This value

    Condition not working Image 2 Screenshot 51

     

     

    goes to the jotform default Thank you page.

    While this value

    Condition not working Image 3 Screenshot 62

     

    go to the custom URL TY page http://www.lifesprung.com/qualify/

     

     can you please try my test form http://www.jotformpro.com/form/50148463653961

    You will just type manually a number for "Final_Results"

    Tell me if the 'action' of the condition logic is not the right one.

     

    Thanks.