Brand Association Question_Restrict the no. of answers per row

More
4 months 2 weeks ago #157077 by letty
letty created the topic: Brand Association Question_Restrict the no. of answers per row
To create a brand association question, i used "Array (Number)" as question type and selected "Yes" for Checkbox layout under advanced settings.

I would like to restrict to the maximum number of answers per row.

Is there any solutions?

Thanks!

Please Log in to join the conversation.

More
4 months 2 weeks ago #157080 by Joffm
Joffm replied the topic: Brand Association Question_Restrict the no. of answers per row
Hi, letty,
Use sub-question validation.

Set to (count(self.NAOK)<X) with X as your desired value.

Best regards
Joffm
Attachments:

Please Log in to join the conversation.

More
4 months 2 weeks ago #157093 by Joffm
Joffm replied the topic: Brand Association Question_Restrict the no. of answers per row
Hi, letty,

well, I answered without thinking.
Of course you have to do the sub-question validation on each row like:

(count(self.sq_SQ001.NAOK)<3) and (count(self.sq_SQ002.NAOK)<3) and (count(self.sq_SQ003.NAOK)<3)

where SQ001,... are the codes of the subquestions.
Meaning you can set your maximum for each row individually.

Nest regards
Joffm
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!