Questtype ?textinput?: show count of correctly filled fields (implements #3)
This commit is contained in:
parent
0df698bcb7
commit
0060dfee8a
4 changed files with 17 additions and 5 deletions
|
|
@ -9,5 +9,6 @@
|
|||
<?php endforeach ?>
|
||||
<?=$t->t(mb_substr($task['text'], $posStart, mb_strlen($task['text'], 'UTF-8')-$posStart, 'UTF-8'))?>
|
||||
</p>
|
||||
<p><?=sprintf(_('You filled %d of %d fields correctly'), $count, count($fields))?>.</p>
|
||||
<input type="submit" name="submit" value="<?=_('solve')?>" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue