I have a text array with 3 subquestions (columns) on the X-Scale. How would I go about validating each line, so that if SQ1 (use) is filled in, the user also has to fill in SQ2 (duration) and SQ3 (what) on the same line (Y-axis question)?
I have put this into the Subquestion validation equation:
(count(self.sq_use)==count(self.sq_duration)) and (count(self.sq_use)==count(self.sq_what))
However, it validates the whole question, and not each subquestion by itself?
I think you need to set equation for each line separatly
(is_empty(QQ_SY1_use.NAOK) or count(self.sq_SY1.NAOK) == 0)
and
…
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.