Ranking: decrease lenght of box which displays items to be ranked

Plus d'informations
il y a 3 ans 7 mois #107983 par Bart01
Bart01 a créé le sujet : Ranking: decrease lenght of box which displays items to be ranked
I created a Question Type Ranking.
on this question type I also use an array filter.
The length of the box in which the to be chosen items are displayed is a fixed length, not influenced by the array filter, but based upon the (maximum) number of possible items in the question.
This displays very ugly, especially if there is a large number of empty items which are suppressed by the use of the array filter.
Any tips on how to resolve this? Workaround?

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #108002 par tpartner
tpartner a répondu au sujet : Ranking: decrease lenght of box which displays items to be ranked
Add this to the end of template.css, replacing "QQ" with your question ID .

#questionQQ .dragDropChoiceList {
	min-height: 0 !important;
}

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

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #108004 par Bart01
Bart01 a répondu au sujet : Ranking: decrease lenght of box which displays items to be ranked
Hi Tony,

thx for your respons.

Alas not successful, still too large box around ranking items.
I attached a screenprint, which might shed some more light on this.

Question has theoretically 108 options, so there are 108 subquestions.
But this numbers is decreased using an array filter. In the attached screen print 9 choices, or 9 items to be ranked.

The display box surrounding however calculates without the array filter, so the lenght is based upon 108 options, in stead of the 9.

The screenprint only shows 1 screen, but to reach the end of the question, i have to scroll down much further.
Pièces jointes :

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #108005 par tpartner
tpartner a répondu au sujet : Ranking: decrease lenght of box which displays items to be ranked
That should work if you use the correct ID. Can you activate a test survey for me to see?

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

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #108010 par Bart01
Bart01 a répondu au sujet : Ranking: decrease lenght of box which displays items to be ranked
tony,

pls find attached a simple example,
thx,

Bart
Pièces jointes :

Connexion pour participer à la conversation.

Plus d'informations
il y a 3 ans 7 mois #108011 par Bart01
Bart01 a répondu au sujet : Ranking: decrease lenght of box which displays items to be ranked
tony,

seems to work fine, now.
I changed to another survey, in order to make the example (from the former post).
I moved back to my original survey, and now it is handling it all fine.
Apparently, I needed to do some sort of refresh......


Anyway, it is working now.
thx again for your support,

Connexion pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!