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

    Conditional Logic - values field

    Asked by anolet on May 09, 2016 at 11:47 AM

    Hi,

    I have a form with radio buttons and have assigned each button a value.  Basically, if they score 69-135 they see a thank you page with a blurb, 136-204 a different blurb, and 205 and above a third blurb.  It has been easy to do the first and the third.  If the value is "less than" 135 (I entered the value as 135 into the value box) then they see the appropriate thank you blurb.  For the last one, if the value is "greater than" 205 (I entered 205 into the value box) they also see the correct blurb.  But how do I do it for the scores in the middle?

    I have tried putting it in as follows:  if the "calculation" "contains" (In the value field I put 136, 137, 138, etc. all the way up to 204).  that doesn't work.

    I also tried: if the "calculation" "is equal to" ( once again I put all the numbers in the value box separated by commas).  That doesn't work.

    finally, I tried: "if the "calculation" "is equal to" (in the value box I entered it as "136-204")  That also doesn't work.

    Please can you tell me how to do it for that second (middle) set of values.

    Thank you!!

    Page URL:
    https://www.jotform.com//?formID=61194065183253

    values radio buttons different greater than doesn't work
  • Profile Image
    JotForm Support

    Answered by Charlie on May 09, 2016 at 01:47 PM

    You can add multiple "IF" statements and set if you want the condition to trigger if "ALL" of them are true OR if "ANY" of them are true. You can add multiple statements by clicking the "+" button at the right side. Here's a sample setup I made:

     

    Here's how I setup my conditions:

    Condition #1:

    IF "Calculation" is greater than "204". Meaning 205 and up.

     

    Condition #2:

    IF "Calculation" is greater than "135" AND is less than "205". Meaning from 136 to 204.

     

    Condition #3:

    IF "Calculation" is less than "136". Meaning 135 and below.

     

    Let us know if you need more help on this.

  • Profile Image

    Answered by anolet on May 09, 2016 at 03:59 PM

    Thanks so much!!!

  • Profile Image

    Answered by victor on May 09, 2016 at 05:34 PM

    On behalf of my colleague, Charlie, you are welcome. If you have any other question or issue, please do not hesitate contacting us.