Welcome to the LimeSurvey Community Forum

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

[version 4.3.1] Subquestion validation by row

  • cesoielampo
  • cesoielampo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 9 months ago #202970 by cesoielampo
Hello,
i have an "array (texts)" question and i need to validate inputs on a row level

Code:
       |     C1    |    C2   |   Result     
============================================
SQ01   |        0  |       0  |  OK         
--------------------------------------------
SQ02   |        0  |       4  |  ERROR      
--------------------------------------------
SQ03   |        7  |       0  |  ERROR      
--------------------------------------------
SQ04   |       23  |      12  |  OK         
============================================

So basically, i need to check that both answers in the row are either > 0 or == 0.
Is there a fast way to do this or should i check row by row?
Thanks,

Regards,
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202975 by DenisChenu
Replied by DenisChenu on topic [version 4.3.1] Subquestion validation by row
I think row by row …

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 following user(s) said Thank You: cesoielampo
The topic has been locked.
  • cesoielampo
  • cesoielampo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 9 months ago #202987 by cesoielampo
Replied by cesoielampo on topic [version 4.3.1] Subquestion validation by row
It's what i did in the end, thank you!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose