diff --git a/inc/question.class.php b/inc/question.class.php index 6cd94440e..2b8e32f96 100644 --- a/inc/question.class.php +++ b/inc/question.class.php @@ -777,7 +777,8 @@ public function showForm($ID, $options = []) { 'id' => 'name', 'autofocus' => '', 'value' => $this->fields['name'], - 'class' => 'form-control required', + 'class' => 'form-control', + 'required' => 'required' ]); echo '';