Welcome to the LimeSurvey Community Forum

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

validation in text array

  • Dennis
  • Dennis's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 5 months ago #190641 by Dennis
validation in text array was created by Dennis
I'm trying to validate the answers in a text array. The respondents should enter codes, let's say either a,b or c in the text fields.

I used the evaluation: self=="a" or self=="b" or self=="c" in the question evaluation field. However, this doesn't work and the system says the question is not answered correctly.

Help?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #190648 by DenisChenu
Replied by DenisChenu on topic validation in text array
this.NAOK=="a" or this.NAOK=="b" or this.NAOK=="c"

in Sub-question validation equation

self give you the list of answers , this can only be used is Sub-question

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: tpartner
The topic has been locked.
  • Dennis
  • Dennis's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 5 months ago #190652 by Dennis
Replied by Dennis on topic validation in text array
Thanks Denis!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose