$value = $qa->get_last_qt_var($question->field($place));
$attributes = array(
- 'id' => $this->box_id($qa, 'p' . $place, $group),
+ 'id' => $this->box_id($qa, 'p' . $place),
);
$groupclass = 'group' . $group;
return '';
}
- protected function box_id(question_attempt $qa, $place, $group) {
- return $qa->get_qt_field_name($place) . '_' . $group;
+ protected function box_id(question_attempt $qa, $place) {
+ return str_replace(':', '_', $qa->get_qt_field_name($place));
}
public function specific_feedback(question_attempt $qa) {