- Posts: 12
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Leading zeros removed during display
- LSCitizen
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #112513
by LSCitizen
Leading zeros removed during display was created by LSCitizen
Hello,
I have created a question that displays text and numerical data in a grid form.
This survey also uses token records. When the attribute value begins with zeros, the zeors are removed and the number is changed.
I am using LimeSurvey Version 2.05+ Build 140226.
I've attached a copy of the survey.
I have created a question that displays text and numerical data in a grid form.
This survey also uses token records. When the attribute value begins with zeros, the zeors are removed and the number is changed.
I am using LimeSurvey Version 2.05+ Build 140226.
I've attached a copy of the survey.
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
9 years 7 months ago #112520
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Leading zeros removed during display
Hi,
Numerical is numerical , the 001==1
If you want to kee the leading 0 : use Text.
Numerical is numerical , the 001==1
If you want to kee the leading 0 : use Text.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- c_schmitz
- Away
- LimeSurvey GmbH Employee
Less
More
- Posts: 301
- Thank you received: 84
9 years 7 months ago #112530
by c_schmitz
Best regards
Carsten Schmitz
LimeSurvey project leader
Replied by c_schmitz on topic Leading zeros removed during display
Btw, your version is old and very unsafe. Please update.
Best regards
Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
- LSCitizen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
9 years 7 months ago #112550
by LSCitizen
Replied by LSCitizen on topic Leading zeros removed during display
I am using the short free text question type for the zip code value and the Numbers Only field is set to NO.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
9 years 7 months ago #112552
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Leading zeros removed during display
Where does this happen? In the LS database or in Excel for example? Could be actually a Excel problem...
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- LSCitizen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
9 years 7 months ago #112555
by LSCitizen
Replied by LSCitizen on topic Leading zeros removed during display
It occurs when the instrument is launched.
I've attached a document that explains the issue.
I've attached a document that explains the issue.
Attachments:
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
9 years 7 months ago #112559
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Leading zeros removed during display
I don't have a solution but this is not a problem with the token attribute, it's a problem with the way EM is piping in the value of the "ZIP" question.
The default value is being loaded correctly into "ZIP" but if that question is hidden by conditions it is not piped correctly.
If you remove the conditions from "ZIP" so it is always shown or modify the value of "ZIP", the piping works fine.
.
The default value is being loaded correctly into "ZIP" but if that question is hidden by conditions it is not piped correctly.
If you remove the conditions from "ZIP" so it is always shown or modify the value of "ZIP", the piping works fine.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- LSCitizen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
9 years 7 months ago #112562
by LSCitizen
Replied by LSCitizen on topic Leading zeros removed during display
I need to keep the condition so that if the value is updated by the user, the updated value displays.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
9 years 7 months ago #112564
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Leading zeros removed during display
What is really weird is that it not only removes leading zeros. It also changes the actual value from "00123" to "83".
I think this needs to be investigated further. Could you please make a bug report?
I think this needs to be investigated further. Could you please make a bug report?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- LSCitizen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
9 years 6 months ago #112669
by LSCitizen
Replied by LSCitizen on topic Leading zeros removed during display
I have submitted a bug report for this issue:
bugs.limesurvey.org/view.php?id=9240
bugs.limesurvey.org/view.php?id=9240
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
9 years 6 months ago #112736
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Leading zeros removed during display
Thanks , fixed.LSCitizen wrote: I have submitted a bug report for this issue:
bugs.limesurvey.org/view.php?id=9240
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.