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 perform a form calculation using dropdown menu.

    Asked by cpachiasso on July 01, 2015 at 04:32 PM

    I try to make calculation between two dropdown menu, each one numbered from 0 to 10.

    It seems does not works for me. You can see in the attachment what I want do do. What am I wrong?

     

    Thanks for your support.

    Page URL:
    http://form.jotformpro.com/form/51732142992961

    Screenshot
    form calculation assign value
  • Profile Image
    JotForm Support

    Answered by Mike on July 01, 2015 at 06:49 PM

    Thank you for contacting us.

    Since you have the Drop Down options listed as numbers, you can delete the Calculation Values and it will still work. Alternatively, you will need to add a 0 option to the Calculation Values to have a correct calculation order (empty Drop Down items need the value too). 

    Also, there is some problem with the Drop Down tags (first two Drop Downs). I would like to recommend you to update the field name tags. Then, you should be able to use them in calculations.

    Please give it a try and let us know if you need any further assistance.

  • Profile Image

    Answered by cpachiasso on July 02, 2015 at 04:53 PM
    Yes, that the first thing I have tried, but calculation field result is
    alwais 0. Could you please show how to have teh correct result on the
    calculation field?
    Thanks a lot for your quick support.
    Laurent.
    2015-07-02 0:44 GMT+02:00 JotForm Support Forum <
    noreply@jotform.com>:
    ...
  • Profile Image
    JotForm Support

    Answered by david on July 02, 2015 at 06:49 PM

    There was indeed something buggy with your fields.  I replaced your dropdowns with new ones and set the calculation up once again.  After replacing the fields the calculation worked.  Here is the form with the fields replaced:

    http://support.jotform.com/form/51826606487969

    You can clone it to have the updated fields and calculation:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL