How can I provide corrections in text/image other than 'ticks,' when using the quiz form?

  • Profile Image
    dclngoi
    Asked on June 09, 2020 at 09:42 PM

    Hi, I have two questions in relation to the quiz form.

    First, how to provide 'correct answers' in 'text' / 'image' other than just a 'tick' to show if it is correct or not. 

    Second, using 'Orderable List,' how to provide the 'correct answer' so that the tick can be turned green when the user's answer matches the one entered?

    As shown in second graphic below, the user didn't get it right (a 'green tick') even after providing the correct answer. Note that the 'expected answers' was provided with phrases in the text box (see first graphic).

    Please suggest.

    Thanks,

    David

    1591751543Screenshot 2020-06-10 at 7.29.

    1591751577thumbnail.jpg


  • Profile Image
    Richie_P
    Answered on June 10, 2020 at 05:37 AM

    First, how to provide 'correct answers' in 'text' / 'image' other than just a 'tick' to show if it is correct or not.

    To clarify, do you want to show the answers in your form or in the quiz app?

    In your quiz app, you have the option to show results after submission and include the correct answer.

    15917806081.png

    Second, using 'Orderable List,' how to provide the 'correct answer' so that the tick can be turned green when the user's answer matches the one entered?

    Unfortunately, it seems the order list widget will not work correctly with the quiz app.

    You may need to use conditions to determine if the answer is correct.

    You can use the form calculation widget to get the value of the order list then use condition to determine if its correct or wrong.

    Sample condition:

    15917817981.png

    Please check it out and let us know if this fits your requirements.


  • Profile Image
    dclngoi
    Answered on June 10, 2020 at 06:01 AM

    Hi, many thanks.

    For your suggestion on my second, I will try and let you know if I understand.

    I would like to clarify my first question. I want to know how to show the answers through the quiz app. I would like to display text/image as correct solution in addition to the green tick/red cross as indication of right/wrong answer by the user.

    Please suggest.

    David

  • Profile Image
    dclngoi
    Answered on June 10, 2020 at 06:23 AM

    Hi, now I just read your suggestion for my second question. It seems it is beyond me to follow as I am rather new with JF. If possible please show me a demo using Orderable List. I would like to know how i can assign a value to the correct order and how I can use such value in the conditional logic to determine if the order provided by the user is correct or not.

  • Profile Image
    Richie_P
    Answered on June 10, 2020 at 08:05 AM

    To set this up,

    1) Add a form calculation widget to get the value of the order list.

    Please make sure to double click on the end part to change it from Integer to String

    15917904991.png

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    2) Add a number field to hold the score

    3) Use the update/calculate condition to check if the value added in the calculation is correct and if its, you add 1 to your score field.

    15917906031.png

    Sample output screenshot

    15917906951.png

    Here is my sample form:https://form.jotform.com/201612135689960

    Do note that you can hide your calculation field.

    Please check it out and let us know if you have further questions.

  • Profile Image
    dclngoi
    Answered on June 10, 2020 at 08:45 AM

    Hi, many thanks for your demo. However, for some reason, I wasn't able to reproduce it.

    I tried to implement for:
    https://www.jotform.com/build/201607690013446/settings/conditions#preview

    As shown in first graphic, I did as suggested by you.

    But, as shown in second graphic, I couldn't get '1' to display in the number field 'Score'.

    What could have done wrong? Please advise.


    1591792829Screenshot 2020-06-10 at 8.39.

    1591792863Screenshot 2020-06-10 at 8.40.



  • Profile Image
    Richie_P
    Answered on June 10, 2020 at 10:00 AM

    I have checked your form condition and instead of using the question field, you would have to use the form calculation widget to compare if the value is correct.

    15917975111.png

    I have made the changes in your condition.

    Please check your form again and let us know if you need further assistance.

  • Profile Image
    dclngoi
    Answered on June 10, 2020 at 10:46 AM

    Haha that's right, many thanks!

  • Profile Image
    dclngoi
    Answered on June 10, 2020 at 11:04 AM

    Hi, this brings me to my next challenge. How can I turn the results to a 'green tick' if the answer is correct, the score of '1'? Please advise.

    1591801184thumbnail-1.jpg


  • Profile Image
    Richie_P
    Answered on June 10, 2020 at 12:24 PM

    Instead of using the field drag and drop you would have to use the score field. Unfortunately, we cannot pass the field value to your drag and drop field.

    15918061751.png

    Please give it a try and let us know how it goes.

  • Profile Image
    dclngoi
    Answered on June 11, 2020 at 01:21 AM

    It works! Many thanks. I also discovered that I can use 'Calculation' for my purpose to give an indication if the user performs the field 'Drag' correctly or not. 

    15918525498f990aa1-00da-40cd-8ed4-66bff3