mirror of
https://github.com/idanoo/nzart-exam-generator.git
synced 2024-12-04 22:26:58 +00:00
Make answers required
This commit is contained in:
parent
6dff0d62ab
commit
4e3c1d064d
@ -65,7 +65,7 @@ if(!isset($_POST['mark'])) {
|
||||
foreach($q->answers as $x=>$ans) {
|
||||
echo "<tr>";
|
||||
echo "<td></td>";
|
||||
echo "<td style='padding-left:10px'><input type='radio' name='".$q->getId()."' value='".$ans->getId()."'> ".($letters[$x]." ".$ans->getAnswer())."</td>";
|
||||
echo "<td style='padding-left:10px'><input type='radio' name='".$q->getId()."' value='".$ans->getId()."' required> ".($letters[$x]." ".$ans->getAnswer())."</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
echo "<tr><td> </td><td></td></tr>";
|
||||
|
Loading…
Reference in New Issue
Block a user