How can the {numberCorrect}/{totalQuestions} ({percentageCorrect}%) fie

  • Profile Image
    crossland
    Asked on June 27, 2017 at 08:04 PM

    How can the {numberCorrect}/{totalQuestions} ({percentageCorrect}%) fields display on an Autoresponder message that connected with the same Jotform that the quiz is made from.

    (We need it to work with this type of message. Reason: we have our completed form forwarding to a person that in turn must click on a link that goes to another form.)



    This is a re-post of a comment on Turn Your Form into a Quiz or Exam!

  • Profile Image
    liyam
    Answered on June 27, 2017 at 11:32 PM

    A quick solution I could think of is by using the quiz app. Simply visit this page, select your form and configure its settings for you to create your result.

    Pros: Easy to setup
    Cons: You cannot setup your email alerts.

    ----

    To be able to set it showing results to an email, we'll need to manually do this. But manually doing this may come a bit lengthy, so let me try to give you a quick overview on how to make this happen:

    1) You will need to add a form calculation widget on your form (this will handle the formula). At least two.
    2) You will need to set a surveying value number for each question. For every correct choice, simply set a 1 value and the rest a 0 value under the survey tab of the properties for that question

    Here's how to do this: For every correct choice, simply set a 1 value and the rest a 0 value under the survey tab of the properties for that question

    Do this for every question that you would like to be calculated

    For the Calculation Widget: Add a form calculation widget on your form

    Once you have the widget in your form, create your formula:

    ((field1+field2+.... /10) * 100)

    The other calculation widget (getting number of correct items), just do the same as the calculation widget for getting the percentage, but without getting of the percentage part

    Then lastly, you can pick up the value of the calculation widget to your email alert settings

    If you have additional questions, please let us know.