• Resolved cawalai

    (@cawalai)


    I have create a quiz with multiple choice answers, there are 2 ways to find the correct answer from source code:

    1) The ”question_list” array: correct answer with value “i:1;d:0;i:2;i:1;”, wrong answer with value “i:1;d:0;i:2;i:0;”;
    2) The “answer” array: correct answer with value “[“Correct_Answer”,0,1]”, and wrong answer with value “[“Wrong_Answer”,0,0]”

    Please refer to the source code below:

    <script>
    window.qmn_quiz_data[“2”] = {“quiz_id”:”2″,”quiz_name”:”Test”,”disable_answer”:”0″,”ajax_show_correct”:”0″,”progress_bar”:”0″,”contact_info_location”:”0″,”qpages”:{“1”:{“id”:”1″,”quizID”:”2″,”pagekey”:”5f9b707d42bf1″,”hide_prevbtn”:”0″}},”skip_validation_time_expire”:”1″,”timer_limit_val”:10,”disable_scroll_next_previous_click”:”0″,”pagination”:{“amount”:5,”section_comments”:”1″,”total_questions”:5,”previous_text”:”Previous”,”next_text”:”Next”},”error_messages”:{“email”:”Not a valid e-mail address!”,”number”:”This field must be a number!”,”incorrect”:”The entered text is not correct!”,”empty”:”Please complete all required fields!”},”timer_limit”:10,”question_list”:{“3”:{“question_id”:”3″,”quiz_id”:”2″,”question_name”:””,”answer_array”:”a:7:{i:0;a:3:{i:0;s:8:\”Correcr1\”;i:1;d:0;i:2;i:1;}i:1;a:3:{i:0;s:8:\”Correct2\”;i:1;d:0;i:2;i:1;}i:2;a:3:{i:0;s:9:\”Correcrt3\”;i:1;d:0;i:2;i:1;}i:3;a:3:{i:0;s:6:\”Wrong1\”;i:1;d:0;i:2;i:0;}i:4;a:3:{i:0;s:6:\”Wrong2\”;i:1;d:0;i:2;i:0;}i:5;a:3:{i:0;s:6:\”Wrong3\”;i:1;d:0;i:2;i:0;}i:6;a:3:{i:0;s:6:\”Wrong4\”;i:1;d:0;i:2;i:0;}}”,”answer_one”:””,”answer_one_points”:”0″,”answer_two”:””,”answer_two_points”:”0″,”answer_three”:””,”answer_three_points”:”0″,”answer_four”:””,”answer_four_points”:”0″,”answer_five”:””,”answer_five_points”:”0″,”answer_six”:””,”answer_six_points”:”0″,”correct_answer”:”0″,”question_answer_info”:””,”comments”:”1″,”hints”:””,”question_order”:”1″,”question_type”:”0″,”question_type_new”:”10″,”question_settings”:”a:10:{s:8:\”required\”;i:1;s:12:\”answerEditor\”;s:4:\”text\”;s:14:\”question_title\”;s:2:\”Q2\”;s:8:\”comments\”;s:1:\”1\”;s:4:\”hint\”;s:0:\”\”;s:8:\”autofill\”;s:1:\”0\”;s:10:\”limit_text\”;s:1:\”0\”;s:23:\”limit_multiple_response\”;s:1:\”0\”;s:17:\”file_upload_limit\”;s:1:\”0\”;s:16:\”file_upload_type\”;s:0:\”\”;}”,”category”:””,”deleted”:”0″,”deleted_question_bank”:”0″,”answers”:[[“Correcr1”,0,1],[“Correct2”,0,1],[“Correcrt3”,0,1],[“Wrong1”,0,0],[“Wrong2”,0,0],[“Wrong3”,0,0],[“Wrong4″,0,0]]},”2”:{“question_id”:”2″,”quiz_id”:”2″,”question_name”:””,”answer_array”:”a:6:{i:0;a:3:{i:0;s:8:\”Correct1\”;i:1;d:0;i:2;i:1;}i:1;a:3:{i:0;s:8:\”Correct2\”;i:1;d:0;i:2;i:1;}i:2;a:3:{i:0;s:8:\”Correct3\”;i:1;d:0;i:2;i:1;}i:3;a:3:{i:0;s:6:\”Wrong1\”;i:1;d:0;i:2;i:0;}i:4;a:3:{i:0;s:6:\”Wrong2\”;i:1;d:0;i:2;i:0;}i:5;a:3:{i:0;s:6:\”Wrong3\”;i:1;d:0;i:2;i:0;}}”,”answer_one”:””,”answer_one_points”:”0″,”answer_two”:””,”answer_two_points”:”0″,”answer_three”:””,”answer_three_points”:”0″,”answer_four”:””,”answer_four_points”:”0″,”answer_five”:””,”answer_five_points”:”0″,”answer_six”:””,”answer_six_points”:”0″,”correct_answer”:”0″,”question_answer_info”:””,”comments”:”1″,”hints”:””,”question_order”:”1″,”question_type”:”0″,”question_type_new”:”4″,”question_settings”:”a:10:{s:8:\”required\”;i:1;s:12:\”answerEditor\”;s:4:\”text\”;s:14:\”question_title\”;s:2:\”Q1\”;s:8:\”comments\”;s:1:\”1\”;s:4:\”hint\”;s:0:\”\”;s:8:\”autofill\”;s:1:\”0\”;s:10:\”limit_text\”;s:1:\”0\”;s:23:\”limit_multiple_response\”;s:1:\”0\”;s:17:\”file_upload_limit\”;s:1:\”0\”;s:16:\”file_upload_type\”;s:0:\”\”;}”,”category”:”Day1-p”,”deleted”:”0″,”deleted_question_bank”:”0″,”answers”:[[“Correct1”,0,1],[“Correct2”,0,1],[“Correct3”,0,1],[“Wrong1”,0,0],[“Wrong2”,0,0],[“Wrong3″,0,0]]},”9”:{“question_id”:”9″,”quiz_id”:”2″,”question_name”:””,”answer_array”:”a:4:{i:0;a:3:{i:0;s:7:\”Correct\”;i:1;d:0;i:2;i:1;}i:1;a:3:{i:0;s:6:\”Wrong1\”;i:1;d:0;i:2;i:0;}i:2;a:3:{i:0;s:6:\”Wrong2\”;i:1;d:0;i:2;i:0;}i:3;a:3:{i:0;s:6:\”Wrong3\”;i:1;d:0;i:2;i:0;}}”,”answer_one”:””,”answer_one_points”:”0″,”answer_two”:””,”answer_two_points”:”0″,”answer_three”:””,”answer_three_points”:”0″,”answer_four”:””,”answer_four_points”:”0″,”answer_five”:””,”answer_five_points”:”0″,”answer_six”:””,”answer_six_points”:”0″,”correct_answer”:”0″,”question_answer_info”:””,”comments”:”1″,”hints”:””,”question_order”:”1″,”question_type”:”0″,”question_type_new”:”0″,”question_settings”:”a:10:{s:8:\”required\”;i:1;s:12:\”answerEditor\”;s:4:\”text\”;s:14:\”question_title\”;s:2:\”Q3\”;s:8:\”comments\”;s:1:\”1\”;s:4:\”hint\”;s:0:\”\”;s:8:\”autofill\”;s:1:\”0\”;s:10:\”limit_text\”;s:1:\”0\”;s:23:\”limit_multiple_response\”;s:1:\”0\”;s:17:\”file_upload_limit\”;s:1:\”0\”;s:16:\”file_upload_type\”;s:0:\”\”;}”,”category”:””,”deleted”:”0″,”deleted_question_bank”:”0″,”answers”:[[“Correct”,0,1],[“Wrong1”,0,0],[“Wrong2”,0,0],[“Wrong3″,0,0]]}},”first_page”:true}
    </script>

    Is there any solution for next update? I will buy Pro/Paid version once such problem was solved. Thanks.

Viewing 1 replies (of 1 total)
  • Hi there,

    Thanks for reaching out to us. We will check the issue on our staging and let you know regarding the same.

    Kind regards,
    Kriti

Viewing 1 replies (of 1 total)

The topic ‘Multiple choice answers were easily found from source code’ is closed to new replies.