Thanks, it works great for numeric input questions. But sorry, I didn't say multiple: What do I need to change for multiple numeric input questions?
In the path:
survey\questions\answer\multiplenumeric\rows\input\answer_row.twig
It seems that changing the equivalent lines in the multiple numeric input questions file has no effect. Can this be?
I changed the follwing two lines in answer_row.twig:
Code:
value="{{ fValue }}"
to
Code:
value="{% if (integeronly == 1 and fValue != "") %}{{ intval(fValue) }}{% else %}{{ fValue }}{% endif %}"
and
Code:
{% if integeronly %} step=1 {% endif %}
to
Code:
{% if integeronly == 1 %} step=1 {% else %} step="any"{% endif %}