What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Condition not working

    Asked by Deralict on January 15, 2015 at 09: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.

    Page URL:
    http://form.jotform.ca/form/43351436352248?

    Screenshot
    fill contains conditions error condition logic
  • Profile Image
    JotForm Support

    Answered by jonathan 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

     

     

    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.

     

  • Profile Image

    Answered by Deralict 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...

  • Profile Image
    JotForm Support

    Answered by jonathan on January 16, 2015 at 02:12 AM

    Sorry for the delays.

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

     

    It work as intended.

    This value

     

     

    goes to the jotform default Thank you page.

    While this value

     

    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.