Brand Association Question_Restrict the no. of answers per row

More
1 year 3 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 or Create an account to join the conversation.

More
1 year 3 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


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

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

More
1 year 3 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


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: 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!