• Resolved mademoizellenur

    (@mademoizellenur)


    Hello,

    I’m building multiple choice quizzes, the questions are sorted below each other, and the answers are required for all questions, the problem is when a user submits the quiz the message “Please select at least one option to answer” is displayed under every question in red for a split second and then the quiz is submitted anyway.

    How do I prevent the quiz to be submitted unless all the questions are answered?

    Also I want to be able to display the correct answers directly after the quiz submission, not the scores tables with the previous attempts. is there a way to do this? Since in the setting, by default it says “Answers shown after the quiz is finished” but it shows the score table.

    Thank you in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • the questions are sorted below each other, and the answers are required for all questions, the problem is when a user submits the quiz the message “Please select at least one option to answer” is displayed under every question in red for a split second and then the quiz is submitted anyway.

    Same here, and i configured to answers being forced to be answered.

    BTW there’s no human way to translate that red text?

    Thread Starter mademoizellenur

    (@mademoizellenur)

    I’m trying to find how to translate it too, I tried Loco Translate but couldn’t find the same sentence so I guess I’ll have to do it in the php templates or something I’m not sure.

    I’ve noticed another huge bug today, i finished typing two multiple choice quizzes with 16 questions each, finished the first one, saved and and checked it was published, did the same thing with the second one, when i started building the 3rd one the two first were gone.

    I checked the database (phpmyadmin), table wp_tutor_quiz_question the questions are still there, but they are not displayed on the website, they disappeared from both front and back end.

    I’ve noticed multiple other bugs with the quizzes settings, like I would be entering a question with multiple answers and when I save the question, before i add a new one I notice that new questions are randomly created like “Question 456” and “Question 458” when I didn’t even click on the “Add a new question” button yet.

    Its seriously frustrating when you’re trying to build a serious amount of quizzes.

    I purchased the pro version and i’m starting to question my purchase to be honest, not only because of the quizzes bugs but many other bugs too since my purchase, the remove course from cart problem for example that was fixed with the latest update. An eLearning platform can’t work properly with a pro LMS plugin full of bugs!

    im not a professional developer but i found the line for translate it, so, i show it but i not encourage anybody for messing the code withow knowledge
    Anyway… problem of sending the quiz is still there… my problem is slightly different, just the unchecked answers send the message error and the quiz is sent anyway

    \wp-content\plugins\tutor\assets\js\tutor-front.js:
    718 if ($type === ‘radio’) {
    719 if ($required_answer_wrap.find(‘input[type=”radio”]:checked’).length == 0) {
    720: $question_wrap.find(‘.answer-help-block’).html(‘<p style=”color: #dc3545″>Please select an option to answer</p>’);
    721 validated = false;
    722 }

    Thread Starter mademoizellenur

    (@mademoizellenur)

    The problem with making changes to the codes directly is that you will have to do it every time there’s a new TUTOR LMS update, it’s not practical. If I find a better alternative I’ll post it.

    Hi,

    Thank you for reporting the translation issue. I have added this to our to do list and will be fixed on the next release.

    @charliecleon Thank you for pointing out the location. I was looking for it for days. The plugin is a major disappointment so far in terms of bugs and poor documentation and totally intransparent translation options.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Quiz problems’ is closed to new replies.