Conditions on my form are not obeying me! :(

  • Profile Image
    kristyhunt
    Asked on October 12, 2012 at 10:46 AM

    The Family Category Calculator.

    I only have three conditions, but they are all getting messed up!

    When Parent Income is <80,000, then the banner at the bottom should tell them to use category 1 strategeis

    When Parent Income is 80,000-150,000 then the banner at the bottom should tell them to use category 2 strategies

    When Parent Income is >150,000 then the banner at teh bottom should tell them to use Category 3 strategies.

     

    Why is the 3rd category showing when Parent income is <80,000?!!!

  • Profile Image
    NeilVicente
    Answered on October 12, 2012 at 12:34 PM

    Hello,

    The characters < and > are causing the conditions script to malfunction. Would you be amenable to changing them to text, i.e., "Less than" and "Greater than"?

    Check out how it works in this clone of your form: http://form.jotformpro.com/form/22855134672961?

    Please let us know what you think.

    Regards

  • Profile Image
    kristyhunt
    Answered on October 15, 2012 at 03:13 PM

    Your form works perfectly! However, I don't understand how to change my conditions. Please let me know. Thanks!

  • Profile Image
    NeilVicente
    Answered on October 15, 2012 at 03:33 PM

    Kristy,

    First off, you will need to remove the characters < and > and replace them with their text equivalents "Less than" and "Greater than" or whatever text you'd prefer.

    Your form conditions should be simple -- show a category text if a certain option is selected. There is no need to add hide conditions because whenever a field is involved in a show condition, it will remain hidden by default until the option to show it is selected.

    Thus, the conditions for the field "Parent Income" should be just these three:

     

    I have cloned my sample form to your account, named [JotForm Support] Clone of Family Category Calculator.

    Feel free to play around with and inspect the form to see how exactly these conditions work.

  • Profile Image
    kristyhunt
    Answered on October 15, 2012 at 04:09 PM

    Thank you. I understand what you have done with no 'Hiding' windows. What I do not understand is what you are referring to on the <and> and replacing it with <less than> etc. I don't know how to access the HTML of this form--where is it? 

  • Profile Image
    jeanettebmz
    Answered on October 15, 2012 at 04:25 PM

    I think you can clone my colleague's form which is a clone of your form, instead of applying the changes by yourself . Please follow this guide in order to clone Neil's form