How to disable the other options after the first 5 was filled or ranked?

Mehr
3 Monate 21 Stunden her #181767 von FreshLemonUser
Hi guys,

I have a rank question with a bunch of options, so i have to randomize the options and disable the other options after the customer fill, rank or select the first 5.

i can use this:



or this:




I prefer to use the second one but my customer wants to use the first one.


Can anyone help me? How can i do this?


Thanks in advanced.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
3 Monate 12 Stunden her #181784 von tpartner
There is a setting for maximum answers in the ranking type question.

- manual.limesurvey.org/Question_type_-_Ra...rs_.28max_answers.29

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Folgende Benutzer bedankten sich: FreshLemonUser

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 10 Stunden her #181791 von DenisChenu
And for 1st solution
unique(self.NAOK) and count(self.NAOK)==5
in
manual.limesurvey.org/Question_type_-_Ar...28em_validation_q.29

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: FreshLemonUser

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 9 Stunden her #181799 von FreshLemonUser
Hi dear DenisChenu

Thank you so much, i already have implemented this syntax on my questionnaires, i can't remember who in the community helped me before. "unique(self.NAOK) and count(self.NAOK)==5", and it works for validation.



But i need to disable the other fields, do you have any idea how to disable the other fields? My customer want specifically to disable the other options. (I don´t know why, but...)

Let me know if i can have other way to do that, the sintax works perfectly

Best regards.

A Fresh Lemon User
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 8 Stunden her - 3 Monate 8 Stunden her #181803 von DenisChenu
Something like this : Ranking in array with max

I use sub question relevance !is_empty or count(self)<3

And since your client need more option , you can contact me for professionnal support …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Letzte Änderung: 3 Monate 8 Stunden her von DenisChenu.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 8 Stunden her - 3 Monate 8 Stunden her #181804 von FreshLemonUser
Hi dear DenisChenu

Thank you so much, i´ll check this.

A Fresh Lemon User
Letzte Änderung: 3 Monate 8 Stunden her von FreshLemonUser.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 7 Stunden her #181805 von FreshLemonUser
Hi dear Tony Partner

I already programmed this option and it looks like this.

I will try to convince my client to use this form of question

Best regards

A Fresh Lemon User

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 7 Stunden her #181813 von FreshLemonUser
Hi DenuisChenu

is_empty fuction isnt working on my questionnarie I have LimeSurvey Versión 3.16.1+190314

i've put in the sub question equation

!is_empty or count(self)<6
!is_empty(this.NAOK) or count(self)<5

what am I doing wrong.

How may you help me?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Monate 6 Stunden her #181814 von DenisChenu
This can not be used in Sub question relevance, then need writing complete subquestion

!is_empty(Q00_SQ01.NAOK) or count(self.NAOK)<3

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha