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

    How to add a negative calculation value to a dropdown field?

    Asked by clearview22 on March 07, 2017 at 02:17 AM

    How do I add a negative calculation value (ex. -30)?

     

     



    This is a re-post of a comment on How to Assign Calculation Value

  • Profile Image
    JotForm Support

    Answered by AIDAN on March 07, 2017 at 05:28 AM

    Hi, thank you for contacting us.

    In order to add a negative value when calculating, simply add the "-" sign before the value from the calculation pad.

    I hope this helps. If you need further assistance please let us know. Thank you.

  • Profile Image

    Answered by clearview22 on March 07, 2017 at 07:06 AM

    Hi Aidan, 

    Thanks for the response. Sorry how do I add a negative value (ex -30) inside of a dropdown edit properties>surveying>calculation values? I put the "-" before the number but it actually adds time (instead of subtracting) in the "total" calculation cell at the bottom of the form. Here is a screencast. https://www.screencast.com/t/JbrrNoOJP

    Thanks!

  • Profile Image
    JotForm Support

    Answered by Kiran on March 07, 2017 at 10:38 AM

    I am able to replicate the issue at my end with a new form. It seems that the values entered are being taken as positive values. However, the issue seems to be with the dropdown only and the negative values are working fine with a radio button or checkbox field. Let me forward the issue to our backend team to take a look. Once we have any information in this regard, you'll be posted here.

    Thank you! 

  • Profile Image

    Answered by clearview22 on March 07, 2017 at 01:58 PM

    Hi Kiran, 

    I need it to work with the dropdown. The radio button and checkbox field is not an option for me. Takes up too much space. 

    Yes, please try to get a fix for adding negative values in the dropdown calculations values. 

     

    Thanks! 

  • Profile Image
    JotForm Support

    Answered by Kiran on March 07, 2017 at 09:00 PM

    Ok. I understand. I have forwarded the issue to our backend team. If there is any information in this regard, we'll update you here.

    Thank you! 

  • Profile Image
    JotForm Support

    Answered by Scott on March 13, 2017 at 02:01 PM

    Hey clearview22,

    This issue is fixed now. Feel free to contact us if you ever need anything else,

    Cheers.

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 02:15 PM

    Hi Scott, 

    Im still having the issue on my end. Can you provide a demo of the new fix. 

    Thanks! 

  • Profile Image
    JotForm Support

    Answered by Scott on March 13, 2017 at 02:18 PM

    I forgot to clean your form caches as this was implied by our developers, sorry for that :)

    I cleaned the form caches and it should be working now. Here is my demo form: https://www.jotform.com/70651460525957

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 02:24 PM

    Ok thanks! Did you clean all of my forms cache or just the one in question? 

     

  • Profile Image
    JotForm Support

    Answered by Scott on March 13, 2017 at 02:26 PM

    Our related admin tool is not working on specified forms, so yes, all of your forms should be free of this bug now.

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 02:33 PM

    Ok yeah, the negative calculation is still not working. I have cleared cache and closed down and restarted my browser. 

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 02:36 PM

    Ok, I think it is working now. I had to remove the previous calculation. I will report back to double check. 

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 02:40 PM

    It's working! Thanks! 

  • Profile Image

    Answered by cleaningbusinessacademy on March 13, 2017 at 02:46 PM
    Hi Scott,
    I'm still having the issue on my end. Can ok provide a demo of the updated
    fix.
    Thanks!
    ...
  • Profile Image

    Answered by clearview22 on March 13, 2017 at 03:04 PM

    Please disregard last email generated message. It took several minutes to show here. The negative calculation is now working. Thanks! 

  • Profile Image

    Answered by clearview22 on March 13, 2017 at 04:26 PM

    Hi Scott, 

    It looks like after you made this bug fix my submit buttons have disappeared on all of my forms.