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

Mehr
1 Woche 4 Tage her #181767 von FreshLemonUser
COM_KUNENA_MESSAGE_CREATED_NEW
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.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
1 Woche 4 Tage her #181784 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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.
Folgende Benutzer bedankten sich: FreshLemonUser

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #181791 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: FreshLemonUser

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #181799 von FreshLemonUser
COM_KUNENA_MESSAGE_REPLIED_NEW
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
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her - 1 Woche 4 Tage her #181803 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 1 Woche 4 Tage her by DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her - 1 Woche 4 Tage her #181804 von FreshLemonUser
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi dear DenisChenu

Thank you so much, i´ll check this.

A Fresh Lemon User
Last edit: 1 Woche 4 Tage her by FreshLemonUser.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #181805 von FreshLemonUser
COM_KUNENA_MESSAGE_REPLIED_NEW
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 an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #181813 von FreshLemonUser
COM_KUNENA_MESSAGE_REPLIED_NEW
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 an der Konversation teilzunehmen.

Mehr
1 Woche 4 Tage her #181814 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

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