Check out the LimeSurvey source code on GitHub!

Possible to localize Number format?

More
5 years 4 months ago #67570 by halliballi123
Hi I am using question type Matrix (text) and the option only numbers
When checking this option I can enter numbers from 0 to 9 comma and point and + and -

But the number is not localized correctly. If I enter 1.000.000 (which is quite common) the result is 1.0
Is it possible to change this to accept only . or , as decimal separator?
Can this be configured in LimeSurvey?

Thanks

Please Log in to join the conversation.

More
5 years 4 months ago #67571 by halliballi123
Additional info: I just found out that I can enter comma via the comma key on numbers block but not the comma key on the regular keyboard

(hope this information helps)

Please Log in to join the conversation.

More
5 years 4 months ago #67587 by Mazi

halliballi123 wrote: Additional info: I just found out that I can enter comma via the comma key on numbers block but not the comma key on the regular keyboard

(hope this information helps)

That is strange. Please file a bug report if you can easily reproduce the problem at different surveys and when using different browsers.

As for the separator: You can change that for each survey language at survey settings -> text elements -> "Decimal separator:"


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: halliballi123

Please Log in to join the conversation.

More
5 years 4 months ago #67595 by halliballi123
Thank you for the hint with the separaor setting. This works just fine for QuestionType Only Number.

But when I have a question that has the question type short text there is also the option "only numbers" and here it does not work. This is not my real problem. My real problem is that I want to use question type matrix and there I want to have the possibility to allow only numbers.

When I choose question type "matrix (numbers)" I have dropdown boxes with numbers. When I choose question type "matrix (text)" I have fields where I can enter text and if I choose the option only numbers it is the english format. But this I don't want to have.

And then there is also the problem as described before with the comma and the numbers block
thanks

Please Log in to join the conversation.

More
5 years 4 months ago #67597 by Mazi

halliballi123 wrote: Thank you for the hint with the separaor setting. This works just fine for QuestionType Only Number.

1. But when I have a question that has the question type short text there is also the option "only numbers" and here it does not work. This is not my real problem. My real problem is that I want to use question type matrix and there I want to have the possibility to allow only numbers.

When I choose question type "matrix (numbers)" I have dropdown boxes with numbers. When I choose question type "matrix (text)" I have fields where I can enter text and
2. if I choose the option only numbers it is the english format. But this I don't want to have.

3. And then there is also the problem as described before with the comma and the numbers block
thanks

This sounds like three different issues (I marked them above). Please create a ticket for each one and mark them as "related".
More Information (copy-paste):
Please test if the problem still exists at the latest release . If so please open a ticket at the Bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the Bugtracker so we can follow the progress.

Thanks!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #67666 by halliballi123
Ok, I updated to the latest version

1 ) is working
2 ) is working but you have to check use textinput in the extended options. It seems that the default option is using drop down boxes for matrix (numbers)
3 ) this is still not working but as 2 ) is working, there is no need to use matrix (text) and use the extended option "only numbers"

Sorry for the inconvenience
Thank you once again
Last Edit: 5 years 4 months ago by halliballi123.

Please Log in to join the conversation.

More
5 years 4 months ago #67669 by Mazi
If I sum this up correctly there is still one bug remaining. Please open a ticket at our Bugtracker. If no one reports the bugs, we can't fix them.
Reporting bugs really helps us (and other users) to improve the software.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago #67677 by halliballi123
I reported the bug:
bugs.limesurvey.org/view.php?id=5524
regards

Please Log in to join the conversation.

More
5 years 3 months ago #67774 by Mazi
Thanks for reportuing bugs. We'll look into it.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form