Creating a Quiz form

  • ministrypixel
    Asked on October 30, 2015 at 10:23 AM

    Hey guys,

    Love the http://quizform.jotform.io/ app.  Couple of questions:

    1) Is there an easy way to access and modify previously created quizes?

    2) Is it possible to display a specific message on the result page if the score is below a certain percentage? Right now I have "You got {numberCorrect} answers correct out of {totalQuestions} questions, with a score of {percentageCorrect}%."  If the score is a below a certain percentage, I need to add "Please contact us" at the end.

    Thanks in advance for your help.

     

    Josh

  • Ben
    Replied on October 30, 2015 at 2:16 PM

    Unfortunately Josh, that would not be possible - neither of the two - at least not through the Quiz app.

    What you could do - but would require more work is to create the form that behaves just like the quiz form.

    It would include conditions, but it would also allow you to change the emails, thank you page and anything else that you might want to change on your form.

    Would that be something you would be interested in? If so we would be happy to assist further with the setup.

  • ministrypixel
    Replied on October 30, 2015 at 2:37 PM

    Yes, can you provide more info on how to get total wrong/right with conditions?

    Thanks.

  • Ben
    Replied on October 30, 2015 at 5:12 PM

    Yes, I would be glad to do so :)

    Looking at your account I found this form: http://www.jotformpro.com/form/53024309556958 so I will use this as an example.

    This is my form (with same labels): https://form.jotform.com/53026029217953

    Now I set up the label position and the columns to a different layout, but you can set it in any manner you wish.

    Creating a Quiz form Image 1 Screenshot 80

    Now we give them the calculation values. For example 1 for true and 0 for false.

    We can add the calculation values in such way for:

    1. radio buttons
    2. checkboxes
    3. dropdowns

    This is how we do it: How to Assign Calculation Value

    The only thing to note is that for radio buttons and checkboxes we match the values to the options, while for the dropdowns, we must take into the account that there is always that one white field shown at the start, so we usually add 0 and then match the values to the calculations.

    Creating a Quiz form Image 2 Screenshot 91

    We can also set the order of these options to change on random basis so Yes is not always at the top - if you want to do that.

    To do so, just scroll a bit down and you will see the Shuffle Options option:

    Creating a Quiz form Image 3 Screenshot 102

    Now since we got this covered, we have few things to calculate:

    1. percentage

    2. number of correct answers

    3. number of wrong answers

    For this we will need to know the total number of questions on the form, which we can get by adding it manually

    Now to set this all up, we would need 3 form calculations.

    1. for correct answers

    We just add it to the form after setting all the other questions and sum them all up. If the true answer is given we get +1 to the sum, while if the false answer is given sum is not changed since +0 does not change it.

    Creating a Quiz form Image 4 Screenshot 113

    2. total number of questions

    We can add a simple textbox field to the form (which we hide) and we set its default value as the number of the fields. This can then be used in form calculations and conditions if needed while the user can not see the same.

    Creating a Quiz form Image 5 Screenshot 124

    3. For wrong numbers

    We add another Form Calculation widget and then with it we calculate the wrong answers by taking total number and subtracting the number of correct answers

    Creating a Quiz form Image 6 Screenshot 135

    4. Percentage

    We use another form calculation for this. We set it up to sum all of the fields and then divide that total by the number of fields on the form and multiply it by 100.

    Creating a Quiz form Image 7 Screenshot 146

    Now I will leave it at this so that we can talk about any parts that you might have any questions, but in case you see this as easy and want to know more, there are few guides that you can check:

    How to Insert Text or Mathematical Calculation into a field using a Condition

    Hide or Show Multiple Fields at Once

     

    Now in regards to emails and thank you messages:

    How to send to a specific email address based on a selection?

    Configuring Change Thank You URL after submission condition

    Of course we are here, so do let us know and we would be happy to proceed further or stop and go through any section that you might have a question about.

  • ministrypixel
    Replied on November 3, 2015 at 7:14 PM

    Thank you so much for your help.  This is perfect.  Is it possible to use the form you created as a starting point?  I didn't see it in my account, but is there a way to get it in there?

    Thanks,
    Josh

  • mert JotForm UI Developer
    Replied on November 4, 2015 at 1:55 AM

    Hi Josh,

    Firstly, on behalf of my colleague Bane, you are most welcome. If you want to use his form, you need to clone it to your account.

    Below, you will find the link of the form which has created by Bane. Please, use that link to clone it to your account by using the method above.

    https://form.jotform.com/53026029217953

     

    If you have more questions, please always feel free to ask.

    Have a great day.

  • ministrypixel
    Replied on November 4, 2015 at 9:38 AM

    Awesome!  Thanks for the info on how to clone.  You guys are amazing!

  • mert JotForm UI Developer
    Replied on November 4, 2015 at 9:51 AM

    Hi again,

    You are most welcome. Also, thanks for your motivating words.

     

    Have a great day.