Accumulate point values from form responses

  • Profile Image
    Asked on November 30, 2011 at 05:13 AM

    Good morning guru!

    I'm creating a game card for a class I'm teaching.  I want students to be able to answer questions and receive points that tally up to a total score at the bottom (or top) of the form. 

    How do I do this?

    Thank you in advance.


  • Profile Image
    Answered on November 30, 2011 at 10:12 AM

    Hi Lorraine, 

    Unfortunately, there really isnt a way to do this with JotForms core functionality. 

    If you have access to a php enabled web server we could probably reach some kind of workable solution, but it does get complicated and involves creating a php script on a Custom Thankyou page URL that 'marks' the form after it gets submitted.

    This workaround for 'quiz' type functionality is something I, personally, have been considering adding to our User Guide , but even with the assistance of a tutorial it will require you getting your 'hands dirty' with computer code and uploading a file to a webserver. 


  • Profile Image
    Answered on November 30, 2011 at 10:16 AM

    I think I can do it with a little coaching. Are you willing to help
    or will it take too much time?
  • Profile Image
    Answered on November 30, 2011 at 12:56 PM

    I am happy to help. I can create my User Guide entry alongside.

    I will explain the sort of functionality you can expect.

    Student fills out a form and submits, the form is 'scored' and the result shown to the student. 

    NOTE: there is no way of automatically tallying the result directly onto the form. it will have to done seperately. Your student can view and/or print of a copy of the webpage containing their result. This page will be the only record of the tallied score for that particular form submission. (all the forms submissions without the tallied score will be stored as normal in your submissions on JotForm. )

    3 things you can get started on:

    1) Ensure you have access to a webserver that you can host the Custom Thankyou Page on. This page will contain our php code for scoring the quiz. Most webservers will have php enabled by default. 

    2) Create your form; what format is this game going to take? I have some php code which we can slot in that can a) assess multiple choice responses (via Radio Buttons ) and b) that can assess True or False responses via a Dropdown Menu

    3) It would be really useful if you could create a template webpage that will be used to show the results of the test. It can be as simple or as complicated as you want. Into this page we can slot the students score via php code, the correct answers or whatever else you want that page to contain.  


    I hope that all makes sense, let me know if there is anything you are unclear about. 

  • Profile Image
    Answered on November 30, 2011 at 01:13 PM

    I can do all that you need me to do. I'll send you the web page as
    soon as I can
    I'll probably use radio button to indicate whether a
    certain activity was completed or not. Automatic points can be assigned
    then -- no sliding scale.
    I'll be back to you in a few hours (maybe
    tomorrow) Thanks for the help!
  • Profile Image
    Answered on March 22, 2014 at 11:46 PM

    I have a similar need; I'd like to score correct choices from a drop down menu. I have a php enable server. If you could send this php code, I might be able to get it to work.

  • Profile Image
    Answered on March 23, 2014 at 02:37 AM


    Please post your question to a separate thread and provide the form URL in question so we'll try to come up a sample PHP script for you.

    Thanks and Regards!