diff options
-rw-r--r-- | yaksh/templates/yaksh/question.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 45a524d..0dad59d 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -196,7 +196,7 @@ function call_skip(url) {% if question.type == "integer" %} Enter Integer:<br/> - <input name="answer" type="textbox" id="integer" /> + <input name="answer" type="number" id="integer" /> <br/><br/> {% endif %} @@ -208,7 +208,7 @@ function call_skip(url) {% if question.type == "float" %} Enter Decimal Value :<br/> - <input name="answer" type="textbox" id="float" /> + <input name="answer" type="number" step="any" id="float" /> <br/><br/> {% endif %} |