Welcome to the LimeSurvey Community Forum

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

Error Message: One or more questions have not been answered correctly. You ...

  • PaoSchnu
  • PaoSchnu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 15 hours ago #271313 by PaoSchnu
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 5.6.15+230412
Own server or LimeSurvey hosting: University server
Survey theme/template: Inherit everything
==================
I came around an issue using Array (Texts) (Type: ;). I have two columns. Each column could contain just numbers between 0 and 100. Each column should result in a sum of 100 (see picture).
When I set: Input validation RegExp = /^(0|[1-9][0-9][0-9]?|100)$/
And: Question validation equation { (sum(self.sq_SX001) == 100) and (sum(self.sq_SX002) == 100) }
the participants can fill the question and proceed with the next question group, but only can enter values in steps of 10.

When I set: Input validation RegExp = ^([0-9]{1,2}|100)$
And: Question validation equation { (sum(self.sq_SX001) == 100) and (sum(self.sq_SX002) == 100) }
the participants can fill the question with every number between 0 and 100 as long as it results in a column sum of 100. The validation in the survey itself shows, that every thing is right (see picture). But if they want to proceed with the next question group the error message "One or more questions have not been answered correctly. You cannot continue until the questions have been answered correctly." occures.

Do you have any idea why this error message appears even though everything has been filled in according to the rules?
I added the lime survey group with the first settings.

Thank you very much!
  

File Attachment:

File Name: limesurvey...2917.lsg
File Size:22 KB

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 day 2 hours ago #271322 by holch
Please always provide a LSS file, not LSQ or LSG.

Why?

1. LSQ and LSG files are language sensitive, so to be able to import them, you need to have a survey with the correct base language. In your case we could guess "German", but there are 3 different versions of German.

2. It requires more work from the helpers in the forum. An LSS file you can just import and start to test. With the other two files you need to create a survey (and guess the right base language), then import the LSG file. Or create a question group and then import the LSQ file into it. If you have to do this several times a day, this can add up.

3. Problems can depend on the general survey settings (don't think this would be the case here, but I mention it just to be complete).

So help us to help you and provide us with an LSS file.

We don't want to see the whole survey, just copy the survey, delete everything that is not needed for showing the issue and export it as LSS file. Yes, I am aware that this is potentially more work on your side, but it saves the helpers in the forum some time. Because everyone who wants to help has to go through the steps described above, when importing a LSG or LSQ file. So overall, this is more work.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • PaoSchnu
  • PaoSchnu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
15 hours 39 minutes ago #271328 by PaoSchnu
Thank you, I already found the issue. I had to use: Input validation RegExp = /^([0-9]{1,2}|100)$/

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose