Welcome to the LimeSurvey Community Forum

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

Multiple Short Text--fill in at least one text box

  • Suraro
  • Suraro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago #215584 by Suraro
Hi,
I'm using a Multiple Short Text question, there are 8 text boxes. But people need to fill in all 8 text box before they move on to next question.
Could I design like this: participant can move on to next question as long as they fill in at least one text box. no matter how many text box they fill in.
I am working in version 3.25.21.

Looking forward to your help!

Suraro

 
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months ago - 2 years 11 months ago #215590 by Joffm
Hi,
see the manual about "implemented functions"
[url] manual.limesurvey.org/ExpressionScript_-...mplemented_functions [/url]

You will find a function "count" with the explanation "count the number of answered (non-blank) questions in the list"

And if you read this
[url] manual.limesurvey.org/ExpressionScript_-....22that.22_variables [/url]

you will find:

Examples:
  • Has any part of a question been answered? -> {count(self.NAOK)>0}
So, this is your validation equation (at least one is not empty)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 11 months ago by Joffm.
The topic has been locked.
  • Suraro
  • Suraro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago #215598 by Suraro
Hi Joffm,
Thank you for your quick reply. It works well now.

Suraro
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose