Ranking in Numeric Array

More
3 years 1 week ago #114240 by g3guy
g3guy created the topic: Ranking in Numeric Array
Hi

I've gone through the forums and also looked at all the workarounds suggested, but still have had no luck for my case.

I have a numeric array (so 5 items, with dropdown numbers from 1 to 5 across two columns). Is there anyway to force only one number to be used per column? I tried working with the unique(Self) validation, but that's not working at expected.

Am I missing something obvious?

Thanks!

Please Log in to join the conversation.

More
3 years 1 week ago #114241 by tpartner
tpartner replied the topic: Ranking in Numeric Array
If, for example, your X-scale codes are "A1" and A2", you can use this as the question validation equation:

unique(self.sq_A1) && unique(self.sq_A2)

Sample question attached:

File Attachment:

File Name: limesurvey...2601.lsq
File Size:6 KB

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

More
3 years 1 week ago #114242 by g3guy
g3guy replied the topic: Ranking in Numeric Array
Oh wow! This works great. Thank you!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!