Welcome to the LimeSurvey Community Forum

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

Validate multiple values in Array Text

  • tammo
  • tammo's Avatar Topic Author
  • Away
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
1 hour 9 minutes ago - 38 minutes ago #274331 by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.15.23
Own server or LimeSurvey hosting: Own server
Survey theme/template: Not relevant
==================
I try to validate 2 out of 3 columns in an array (Texts)
I present an array texts that asks per vacation for the destination (text), the year the vacation started (so must be between 2021 and 2026 for this year) and how many days the vacation lasted (between 1 and 100).

I do not know how to set up this validation in the second and third column and how to display an appropriate error message.

Error messages could be:
"Start year not valid, should be between 2021 and 2026" (and when we use this question next year, this should be between 2022 and 2027)
"Number of days not valid, should be between 1 and 100 days" 

File Attachment:

File Name: wishtovali...umns.lss
File Size:32.73 KB


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Last edit: 38 minutes ago by tammo.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose