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 create a quiz form with calculation values?

    Asked by millionairemoss on September 21, 2016 at 03:45 PM

    I have a 10 question quiz with mainly yes or no values being either 1 or 2. I would like the quiz to auto score at the end and take them to a page where they enter their email address and name to be added to my email list. How can I assign numerical values to text in my form and have those values calculate at the end of the form? This tutorial does not help with that.

    This is a re-post of a comment on Conditional Logic Inserts Text/Calculation Into A Field

  • Profile Image
    JotForm Support

    Answered by Kevin_G on September 21, 2016 at 05:31 PM

    As you have only two options in your questions you can set a value for each answer, you may set 1 for the correct one and 0 for the wrong. 

    This guide will provide you more details about how to do it: How-to-Assign-Calculation-Value

    Once you have added values for each answer you can get the result in the Form Calculation widget:

    Then you will get a total result of selected answers: 

    Here is my cloned form of yours where I have applied the change: https://form.jotform.com/62646493382969 

    Feel free to clone it. 

    I would also like to share you the link to our  Quiz App it also could help you to create your quiz form: https://apps.jotform.com/app/quiz_form 

    Hope this helps. 

  • Profile Image

    Answered by iondjp on April 25, 2017 at 05:16 PM

    I have read several postings regarding DropDown selections and calculation values. I want to be able to use the calculation values to tally a score, but I also want to be able to retain the Text string from a dropdown choice so I can display it.


    DropDown1 Options

    Single Storey Building = 0
    2 Storey Building = 2
    Multiple Storey Building = 5

    My Thank You page would then display a text string with a calculation such as; "Your Multiple Storey Building will be 5 times more expensive"

    I can understand how this can be done by creating hidden fields and using conditions, but I want to know if it is possible to simple call the dropdown state and the dropdown calculation value. This could alleviate the need to create a lot of additional fields and conditions.

    I envision something like this inside a textfield on the Thank You page:

    <p>Your {DropDown1_state} will be {DropDown1_value} times more expensive.</p>


  • Profile Image
    JotForm Support

    Answered by Kevin_G on April 25, 2017 at 06:29 PM


    In order to better assist you I have moved your question to a different thread, we will assist you as soon as possible here: https://www.jotform.com/answers/1128589