Welcome to the LimeSurvey Community Forum

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

100 Maximum by row and by column

  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 11 months ago #216309 by brais24
100 Maximum by row and by column was created by brais24
Hi People, I need help doing this, on this question, wich is an array text but only with numbers, I need to set as maximum value for each row and column 100, because is a %, I try to do it but I dont know how.

If you can help me I apreciate so much.

My LS version is Versión 2.72.3+171020

Thanks for the help.

File Attachment:

File Name: limesurvey...9825.lsq
File Size:9 KB
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months ago #216319 by tpartner
Replied by tpartner on topic 100 Maximum by row and by column
Attaching question exports does not help. It requires the volunteers helping you to waste time creating surveys, importing, etc. Always attach survey exports (.lss files) containing only the relevant question(s).

Try a question validation equation like this:

Code:
sum(self.sq_FIL1) <= 100
AND
sum(self.sq_FIL2) <= 100
AND
sum(self.sq_FIL3) <= 100
AND
sum(self.sq_SQ001) <= 100
AND
sum(self.sq_SQ001) <= 100

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • brais24
  • brais24's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 11 months ago #216355 by brais24
Replied by brais24 on topic 100 Maximum by row and by column
Ok,thank you, I will try and let you know.

About the lss. yes, my bad, I dont do the right export.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose