Text Array Subquestion Validation

More
3 months 4 days ago #179445 by lemmon
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?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 months 4 days ago #179458 by DenisChenu
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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 months 4 weeks ago #179755 by iosman
Wow actually i loved your blog man..Thanks for sharing awesome content..

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago - 2 months 3 weeks ago #179806 by iosman1
SPAM
Last edit: 2 months 3 weeks ago by DenisChenu.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!