How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen)

  • nystesoljournal2014
    Asked on November 10, 2016 at 12:11 PM

    Hello!

    I know how to add the "Quiz" app to Jotform and I have added the auto-correct feature, which is great.

    The auto correct shows correct/incorrect responses right on the screen after I complete a quiz, but i want to show the correct & incorrect responses in the email that the student receives (person taking the quiz) and the teacher (the person administering the quiz).

    How can the "student" (quiz taker) and "teacher" (quiz administer) receive the results of the Jotform quiz with the actual correct & incorrect responses?

     

    Thank you!

    Mark Aaron Polger

    *bronze* member

    markaaron.polger@csi.cuny.edu

  • Nik_C
    Replied on November 10, 2016 at 2:06 PM

    I'll try to work something out and get back to you through this thread.

    Thank you for your patience.

  • Nik_C
    Replied on November 10, 2016 at 6:59 PM

    Thank you for your patience. 

    I took one of your quiz forms and cloned so I can test this setup.

    Basically, I set each correct answer to have calculation value 1 for correct answer and 0 for incorrect answers. For example in the picture below first answer is correct answer:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 1 Screenshot 50

    And you do that for each question.

    Then, I added two Form Calculation widgets, one will hold correct answers and one will hold incorrect answers:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 2 Screenshot 61

    In Correct field we just add all questions:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 3 Screenshot 72

    That will give us total number of correct answers since we put 1 for each correct answer and what is selected in each question will reflect in Form Calculations.

    For incorrect answers I used formula: Total number of questions - Correct number of questions  and I set absolute value for that result:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 4 Screenshot 83

    So we have 5 questions minus number of correct answers, that will give us incorrect answers.

    Of course you can hide those fields that show correct and incorrect answers, but you can include them in submissions.

    Please check my clone of your form: https://form.jotform.com/63145767244965

    And clone it for yourself if you wish.

    Hope it helps.

    Let us know your thoughts.

    Thank you!

  • nystesoljournal2014
    Replied on November 12, 2016 at 8:44 AM
    Sorry but the "thank you" page did not work.
    I got this:
    Fatal error: Uncaught exception 'JotFormException' with message 'Unauthorized API call' in /home/io4quizf/public_html/php/JotForm.php:121 Stack trace: #0 /home/io4quizf/public_html/php/JotForm.php(143): JotForm->_executeHttpRequest('form/6314576724...', Array, 'GET') #1 /home/io4quizf/public_html/php/JotForm.php(291): JotForm->_executeGetRequest('form/6314576724...') #2 /home/io4quizf/public_html/php/QuizForm.php(55): JotForm->getForm('63145767244965') #3 /home/io4quizf/public_html/php/QuizForm.php(34): QuizForm->getFormTitle() #4 /home/io4quizf/public_html/thankyou.php(3): QuizForm->__construct(Array, 'thankyou', false) #5 {main} thrown in /home/io4quizf/public_html/php/JotForm.php on line 121
    I saw my results right away but I want to have the correct & incorrect results emailed to me....(not just shown on the page).
    I am very happy with the results...but our department needs to collect quiz data so obtaining the correct & incorrect results in an email would be helpful.
    I know the XLS spreadsheet does export the correct & incorrect results.
    Thank you,
    Mark Aaron Polger | Assistant Professor | First Year Experience Librarian/LIB 102 Instructor | College of Staten Island, City University of New York | Phone: 718 982 4065 | Email: MarkAaron.Polger@csi.cuny.edu | Web: www.library.csi.cuny.edu |Facebook: http://www.facebook.com/csilibrary | Twitter: http://www.twitter.com/csilibrary | Google +: http://tinyurl.com/google-plus-csilibrary
    ________________________________________
    ...
  • Nik_C
    Replied on November 12, 2016 at 10:08 AM

    I'm not sure about the error you got, I didn't recommend any editing on Thank you page.

    What I meant is you do all the above, and you will have results in your form, that can be hidden, so the submitter will not see those fields, they will calculate in the background.

    And you can use them to show correct/incorrect number of questions in Thank you page or in Submission.

    Here is the guide on how to make those fields hidden and to show number of correct and incorrect results on Thank you page:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 1 Screenshot 30

    And here is my test:

    How can I show the results of the correct/incorrect responses of Jotform quiz in the email (not only on the screen) Image 2 Screenshot 41

    Of course, results on Thank you page can be designed better I just wanted to show it as a possibility.

    Also, please check my clone of your form again with the above updates:

    https://form.jotform.com/63145767244965

    If you have further questions or have something else in mind please let us know.

    Thank you!