Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Array number with 4 digits is not working to submit the survey

  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202469 by nicolae_stan93
Hello,

I have an issue with input from an user on a survey. The user fill into Array Numbers values with comma. I thing the issue is that he enter more that 3 digits. After I delete the numbers with 4 digits the submit button worked. I tried to change from Input --> Maximum character, I put there 10 and resend to my mail to test and still didn't work.
The error message said that I cannot go further because one or more question I did not give a valid answear.



First table value. I attached on pitcures also:

[Alocabila pe LOB Completeaza 1Nealocabila pe LOB Completeaza 0] 1
[Pondere in Total timp anual(pentru activitatea curenta) 5
[CASCO(3)][] 32.86
[RCA(10 (without CMR))][] 53.85
[Commercial Property][] 5.58
[Household][] 4
[Agro & Animals][] 0.59
[Financial Risks(14,15,16)][] 0
[Transports (4,5,6,7,11,12)][] 0.24
[CMR+RCCAL (10)][] 2.23
[General Liability (13)][] 0.29
[Travel&LP (17,18)][] 0.24
[Accidents (1)][] 0.06
[Health (2)][] 0
[Life][] 0.06




Thank you
The topic has been locked.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202470 by nicolae_stan93
I forgot to said that I have a condition :
where m1 is the table/structure/array
l* (l1 l2 l3.....) is the line/row
c* (c1 c2 c3) is the column

((m1_l1_c1==1 AND sum(m1_l4_c1,m1_l5_c1,m1_l6_c1,m1_l7_c1,m1_l8_c1,m1_l9_c1,m1_l10_c1,m1_l11_c1,m1_l12_c1,m1_l13_c1,m1_l14_c1,m1_l15_c1,m1_l16_c1)==100)
OR
(m1_l1_c1==0
AND sum(m1_l4_c1,m1_l5_c1,m1_l6_c1,m1_l7_c1,m1_l8_c1,m1_l9_c1,m1_l10_c1,m1_l11_c1,m1_l12_c1,m1_l13_c1,m1_l14_c1,m1_l15_c1,m1_l16_c1)==0))


I tested with a new survey 3 lines and worked with 5 digits.

Where could be the problem than?
Attachments:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202473 by DenisChenu
.NAOK ?

Didn't read all, but when there are no NAOK manual.limesurvey.org/Expression_Manager#Usage_of_NAOK

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.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202475 by nicolae_stan93
Hi,
I added .NAOK on the final of logic codition and still does't work. I attached the survey with table.
The topic has been locked.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago - 3 years 9 months ago #202480 by nicolae_stan93
So I tried with all kinda combination to see if it works and it works fine. It's not a problem of length that is a string of 4 digits or 3 digits. I thought that was a problem of using 0.0X, where x is a digit but the combination (55.55 44.44 0.01
) worked to be submitted. I saw that errors appears when I enter the combination( 32.86 53.85) and add other numbers to sum 100. All survey from excel worked perfectly fine with all combination which I done.
Attachments:
Last edit: 3 years 9 months ago by nicolae_stan93.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202487 by Joffm
Hi,
you should have mentioned that you use version 4.x. Which one exactly?
This is important to know because you cannot import a 4.x. lss into 3.x

Okay I tested your survey in 4.3.1 - with your suspicious numbers 32.86 and 55.85 - and found no issue.



Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: nicolae_stan93
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose