- Posts: 27
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Ranking in Numeric Array
- g3guy
- Topic Author
- Offline
- Junior Member
Less
More
9 years 4 months ago #114240
by g3guy
Ranking in Numeric Array was created by g3guy
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!
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!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10635
- Thank you received: 3699
9 years 4 months ago #114241
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on 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:
Sample question attached:
Code:
unique(self.sq_A1) && unique(self.sq_A2)
Sample question attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- g3guy
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 1
9 years 4 months ago #114242
by g3guy
Replied by g3guy on topic Ranking in Numeric Array
Oh wow! This works great. Thank you!
The topic has been locked.