Check out the LimeSurvey source code on GitHub!

numeric question doesn't accept comma as decimal seperator

More
4 years 11 months ago #74017 by khoy01
Hi,

I have a problem with a "numerical input" question.
I have set "decimal seperator" to "comma".
Numeric question has advanced settings value between 0 and 10 and "only integer" = no, "maximum characters" = 4.
When testing a value of 2,6 can be entered (2.6 can not be entered) but when going to the next page you can't proceed because LS says that question isn't answered correctly. Integer values are ok.

I'm testing 1.91 build 11232.
Maybe already solved in a later build but I can't find anything in bugtracker.
Thanks.

Please Log in to join the conversation.

More
4 years 11 months ago #74019 by Mazi
I can reproduce the problem.

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
4 years 11 months ago - 4 years 11 months ago #74023 by khoy01
Last Edit: 4 years 11 months ago by DenisChenu. Reason: Direct link ;)

Please Log in to join the conversation.

More
4 years 11 months ago #74035 by Mazi
Thanks for reporting 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.

More
4 years 11 months ago #74047 by DenisChenu

Mazi wrote: Thanks for reporting bugs, we'll look into it.

resolved for next release.

khoy : you can download the new file here:
limesurvey.svn.sourceforge.net/viewvc/li...=12425&pathrev=12425

Replace index.php

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 11 months ago #74111 by khoy01
Hi,

It doesn't seem to work.
In the solution this

$nSeperator = getRadixPointData($thissurvey);

doesn't seem to work, $nSeperator is blank.
So the str_replace later on doesn't work.

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #74116 by DenisChenu
Hello

For manual correction,

need
[code type=php-brief]global $connect, $thisstep, $thissurvey;[/code]In start of checkpregs function.

Did you copy/paste the file or only make modification ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 4 years 11 months ago by DenisChenu. Reason: Oups, made error version .... etc ...

Please Log in to join the conversation.

More
4 years 11 months ago #74138 by khoy01
Hi,

It works now.
As you suspected I only made the modification and missed the global.

Thanks.

Please Log in to join the conversation.

More
4 years 11 months ago #74154 by Mazi

khoy wrote: Hi,

It works now.
As you suspected I only made the modification and missed the global.

Thanks.

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


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