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

    Is it possible to identify and display the top four results from an assessment?

    Asked by hbcmedia on December 16, 2014 at 09:32 PM

    I'm brand new to jotforms and created my first form, an assessment today. I used calculation fields to determine the score of several categories at the end of the form. I would like to identify and display the top 4 categories based on the scores of about 15 calculation fields. I was trying to do this with the Conditions Wizard but cannot figure out a way to do it without custom javascript that isn't supported within the wizard.

    I was looking to use Math.max or an array. I was able to get the largest values with the nth function but I need to return both the values and the labels of the fields with the four largest values.

    Another thought I had was to create a report and email that to the individual or embed it in the form somehow. I'm not sure if advanced functions are possible in reports but I would assume so. I just haven't found it yet.

    Any help would be greatly appreciated!

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

    and top Reports conditions wizard create custom javascript
  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 17, 2014 at 03:19 AM

    Hello hbcmedia,

    I do not think that it will be possible to achieve your requirement with conditions wizard. If it is possible it will be too complicate set of conditions but I am unable to workout a solution.

    I would suggest you to download your form's full source code and then add custom JavaScript code to to the calculation and also show the label as well.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by abajan on December 17, 2014 at 04:10 AM

    @hbcmedia

    Are the radio button choices for the questions correct? I noticed that they state:

    Consistently true
    True some of the time
    True most of the time
    Consistently true

    Shouldn't it be:

    Consistently true
    True most of the time
    True some of the time
    Consistently false

    ?

  • Profile Image

    Answered by hbcmedia on December 18, 2014 at 03:11 PM

    Thanks @abajan. I hadn't finished updating all of the answers yet which is why those were off. Everything is updated now though.

  • Profile Image

    Answered by Shadae on December 18, 2014 at 04:07 PM

    Hi hbcmedia,

    On behalf of my colleague, you are most welcome.

    Please feel free to contact us if you need further assistance.

    Thank you.