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

    Less Than or Greater Than Condition does not count decimal places only its whole number

    Asked by SMUJotForm on July 31, 2014 at 12:15 PM

    Hi JF team,

     

    We are trying to create a scholarship calculator and the calculation calculator is not working as expected.

     

    I would like a value to display in a text box if a certain GPA number is entered.  I set up the conditional between 0 and 2.86, but the result is not displaying for anything between 2.0 and 2.86.  Any idea why the display field is not showing as expected?

     

    Thanks!

    Michelle

    Page URL:
    http://www.jotform.com//?formID=42107297102951

    create thanks and
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on July 31, 2014 at 01:47 PM

    The reason is that you have established IF ALL of these rules are matched

    .

    Just change it to:

    IF ANY of these rules are matched

    And it should work. See this clone I made and fixed for you

  • Profile Image

    Answered by SMUJotForm on August 07, 2014 at 07:34 PM

    Thank you, Jeanette!

    I am still experiencing errors even with this setting.  Can you please take a look? 

    Here is the link: http://www.jotform.com//?formID=42114527000942

    Thanks,

    Michelle

  • Profile Image
    JotForm Support

    Answered by EltonCris on August 08, 2014 at 12:03 AM

    Hi Michelle,

    Thanks for your reply. I think there's a glitch on the condition, it doesn't seem to count the decimal value on the "IF" rule.

    Example, on your condition it is set LESS THAN 2.8 but the condition system only accepts the whole number 2 without its decimal point .8 which is the reason why it does not work when you enter 2 or greater. I was able to reproduce this on this cloned form http://form.jotformpro.com/form/42189194479974?

    I have now raised this to our developers so they can fixed this.

    We will notify your here once this is resolve.

    Regards!

  • Profile Image

    Answered by SMUJotForm on August 08, 2014 at 12:47 PM

    Thank you Elton for letting me know!  I thought I was just not setting up the conditional correctly.  We are looking forward to this picking up the decimals.  I will stay tuned!

    Michelle

  • Profile Image
    JotForm Support

    Answered by Kiran on August 08, 2014 at 02:10 PM

    On behalf of my colleague, you are welcome. Since he has already notified our developers on the issue, the thread shall be updated once we have the solution. 

    Thank you for using JotForm.