choice-box.php
4 years ago
fill-in-the-blank.php
4 years ago
image-answer.php
4 years ago
image-matching.php
4 years ago
matching.php
4 years ago
meta.php
4 years ago
open-ended.php
4 years ago
ordering.php
4 years ago
question.php
4 years ago
short-answer.php
4 years ago
short-answer.php
16 lines
| 1 | <div class="quiz-question-ans-choice-area tutor-mt-40 question-type-<?php echo $question_type; ?> <?php echo $answer_required? 'quiz-answer-required':''; ?>"> |
| 2 | <div class="quiz-question-ans-choice"> |
| 3 | <textarea class="tutor-form-control question_type_<?php echo $question_type; ?>" name="attempt[<?php echo $is_started_quiz->attempt_id; ?>][quiz_question][<?php echo $question->question_id; ?>]"></textarea> |
| 4 | </div> |
| 5 | <?php |
| 6 | if ($question_type === 'short_answer') { |
| 7 | $get_option_meta = tutor_utils()->get_quiz_option($quiz_id); |
| 8 | if(isset($get_option_meta['short_answer_characters_limit'])){ |
| 9 | if($get_option_meta['short_answer_characters_limit'] != "" ){ |
| 10 | $characters_limit = tutor_utils()->avalue_dot('short_answer_characters_limit', $quiz_attempt_info); |
| 11 | echo '<p class="answer_limit_desc">'. __('characters remaining', 'tutor' ) .' :<span class="characters_remaining">'.$characters_limit.'</span> </p>'; |
| 12 | } |
| 13 | } |
| 14 | } |
| 15 | ?> |
| 16 | </div> |