survey-creator
survey-creator copied to clipboard
Input number decimal separator
Are you requesting a feature, reporting a bug or ask a question?
Question
What is the current behavior?
How the decimal separator can be defined based on the locale of the browser.
Currently it only supports dot (.), When I enter one with comma (,) the value is lost.
Could you tell me where did you change separator?
@tsv2013 For an input element type text and inputType number
{ "type": "text", "name": "myDecimal", "inputType": "number" }
This question type uses the browsers input type. So the locale used is based on browser configuration and it is not affected by SJS code.