How to create a quiz form which shows if an answer is correct?

  • miguelben
    Asked on December 31, 2019 at 12:22 AM

    Can I specify a correct answer? For a quiz for instance, I'd like to let the user know if their answer is correct or incorrect.

  • roneet
    Replied on December 31, 2019 at 12:56 AM

    It is possible to show the results to the user after submission using quizform.jotform.io. Please see the screenshot below. Refer Turn-Your-Form-into-a-Quiz-or-Exam-


    154756195628727 quizbuilder Screenshot 10


    Do try this and let us know how this works for you.

    Thanks.

  • miguelben
    Replied on December 31, 2019 at 1:50 AM
    Thank you for your response.
    I have tried that and it works great but only with a few types of fields. I
    would like to show a correct answer using the passage test widget.
    Is there any workaround for this?
    ...
  • Ashwin JotForm Support
    Replied on December 31, 2019 at 4:22 AM

    Unfortunately there is no workaround to achieve your requirement. Please note that only following question can be used in quiz form:

    Radio Button

    Checkbox

    Dropdown 

    Input Fields


  • miguelben
    Replied on December 31, 2019 at 3:50 PM
    Ok. Is there a way to put an input field in the middle of a sentence?
    ...
  • roneet
    Replied on December 31, 2019 at 8:25 PM

    Yes, you can use the Short Entry field or any other field but in that case, you have to design the Quiz Form yourself. Please check this workaround:

    In the demo form, we used the Single Choice field, Short Text Entry field, Text field, and the Form Calculation widget.

    How to create a quiz form which shows if an answer is correct? Image 1 Screenshot 50

    The Score text field will update automatically based on the selected answer in the Question field. If yes, then the score is "1". If no, then the score is "0". You may also assign a value for each option, here's a guide: How-to-Assign-Calculation-Value.

    The Form Calculation widget will add the total score using the values from the Score fields.

    You can separate the page using the "Page Break" tool. In this way, the user will not see the result immediately.

    How to create a quiz form which shows if an answer is correct? Image 2 Screenshot 61

    If you want to hide a field, just right click it and then select the "Hide" option. You may need to do this in the Score field and Total (Form Calculation widget) field.

    How to create a quiz form which shows if an answer is correct? Image 3 Screenshot 72

    Here's the result:

    How to create a quiz form which shows if an answer is correct? Image 4 Screenshot 83

    Related Guides:
    How-to-Clone-an-Existing-Form-from-a-URL
    How-to-Perform-Form-Calculation-Using-a-Widget
    Conditional-Logic-Inserts-Text-Calculation-Into-A-Field
    How-to-Assign-Calculation-Value
    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    I hope that helps. Let us know if you have any questions.

    Thank you.