Is it possible to use conditional logic in the Quiz Form app yet?

  • Profile Image
    beckyblackmore
    Asked on October 09, 2017 at 10:19 AM

    I have found a similar question from 2015 about the quiz form app and I wish to try and show, not answers, but references when a user gets an answer incorrect. 

    Have there been any conditional logic improvements to the quiz app?

  • Profile Image
    BJoanna
    Answered on October 09, 2017 at 11:41 AM

    I'm not exactly sure of I understood your question correctly. 

    It is possible to show the correct answers. 

    Demo form: https://form.jotform.com/72814138235960 

    Turn Your Form into a Quiz or Exam!

    If you want to conditionally show the custom Thank You page with some references based on the Quiz form result, that is not possible. 

    If you want to achieve that, you will have to perform a calculation inside of your form and calculate the result there. Inside of this guide, you can find how to do it:

    How to Perform Form Calculation Using a Widget

    Then based on the result you can show a custom thank you page with conditional logic. 

    How to Change "Thank You" Message Using Conditional Logic

    If I did not understand your question correctly, please explain in more details what are you trying to achieve. 

  • Profile Image
    beckyblackmore
    Answered on October 11, 2017 at 10:38 AM

    What I meant is, can we use any sort of conditional logic within the custom thank you pages when showing answers or answer details.

    I would like to be able to prepare a long list of guidance for the answers to each question but then show or hide the rows in the table based on whether or not the answer given is correct.

    Kind of like the following:

    IF {answer=incorrect} THEN show row

    ELSE hide row

    ENDIF


    I am also having an issue with the email that the quiz sends. I have set up conditional email logic for the quiz which, based on the answer given to one of the questions, fires the results email off to 1 of 3 addresses. This email is different to the quiz email which it appears can only be sent to one location. Does any of the more advance conditional logic work within the quiz function set?

    Or can I copy the email body from the preview within the quiz function into the normal form?

  • Profile Image
    aubreybourke
    Answered on October 11, 2017 at 12:05 PM

    The answer is kind of. You cannot use conditions on the thank you page. But it is possible to use a custom results page. You need to select that option on the app configuration page:

    15077373361429341504quiz-form-again.png

    So in addition to the correct answers you could add an explanation 

    Finally, unfortunately it is not possible to include the quiz logic in a condition or email.