Hello.
How can we achieve to make our text field questionaire to be automatically checked? We have a series of questions that once the student fill up, the answer is correct. If blank, it is wrong.
Thanks in advance
@vincecarp
Please try adding this given script in your wp-admin -> wplms -> footer-> google anaylitics script :
jQuery(document).ready(function(){
jQuery('.in_quiz').on('question_loaded',function(){
setTimeout(function(){
jQuery('body').find('ul.question_options.single li:first-child .checkbox input[type="checkbox"]').attr('checked', true).trigger('click');
},100);
});
});
</script>
Done adding the code. What will happen next?
@vincerap,
In wplms, if a user is attempting a quiz and he is not able to answer any question. For that question no marks will be given (i.e. 0). Marks will be assigned to the only attempted question.
Can you please explain here what do you want exactly.
If you want to assign marks for unattempted question as well. If you are using checkbox in the quiz questions then above script will work fine
We want to make the large or small text field assign mark when the user input any value to make the quiz automatically check. Let's say, make it required. How can we do that?
@vincerap
Okay, Let me check this.
Updated Reply:
Apologies for the delayed response here but the small text and Large text(if it is in auto evaluation mode) then this type of question type need correct answers through which it can match and assign marks. So, it's better to break your quizzes into two parts. One with other question types and other with large and small text question type.
The large and small text question type should be manually evaluated