- Posts: 54
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
answer display columns error
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
6 years 11 months ago #142993
by Liod_DS
keep improving
answer display columns error was created by Liod_DS
Hi all.
I have a question... when i display some answer on multi columns, and i put a filter on this answer ... the sistem apply the filter AFTER the count of the items, so i have a really bad display of the answers...
I tested even on the standard template , same messy positioning, have someone coded an hotfix or a fast way to get rid of the problem ?
image of an example attached, (27 answer item, filtred to 4 with "none of these" always visibile) where the first column is empty, the second have 1 item and the last 4...
i can't really change the columns number, i have to build some sort of jquery to repos all the visibile answer ?
I have a question... when i display some answer on multi columns, and i put a filter on this answer ... the sistem apply the filter AFTER the count of the items, so i have a really bad display of the answers...
I tested even on the standard template , same messy positioning, have someone coded an hotfix or a fast way to get rid of the problem ?
image of an example attached, (27 answer item, filtred to 4 with "none of these" always visibile) where the first column is empty, the second have 1 item and the last 4...
i can't really change the columns number, i have to build some sort of jquery to repos all the visibile answer ?
keep improving
Attachments:
The topic has been locked.
- jelo
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5016
- Thank you received: 1250
6 years 11 months ago #142995
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic answer display columns error
Which version/build of Limesurvey?
You should open a bug ticket for that.
You should open a bug ticket for that.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago #142997
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
Version 2.54.1+161010
i've fille a bug request this summer for a pretty similar problem (same as this but on a single)
bugs.limesurvey.org/view.php?id=10995
marked as solved... maybe is my installation that cause some problem
i've fille a bug request this summer for a pretty similar problem (same as this but on a single)
bugs.limesurvey.org/view.php?id=10995
marked as solved... maybe is my installation that cause some problem

keep improving
The topic has been locked.
- jelo
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5016
- Thank you received: 1250
6 years 11 months ago #142999
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic answer display columns error
Open a new one and point to your old bugticket. If you checked it with the default template there is only a small chance that the issue is caused by your installation.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: Liod_DS
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago #143001
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
keep improving
The topic has been locked.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 13225
- Thank you received: 2428
6 years 11 months ago #143006
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic answer display columns error
Maybe : don't set coluln width attribute : leave it empty.
Add a class : for example col3
And add this in your template.css (at end )
Not perfect but can do the trick.
The order seems inlined like this :
1 2 3
4 5 6
7 8 9
Not like this:
1 4 7
2 5 8
3 6 9
Add a class : for example col3
And add this in your template.css (at end )
Code:
.col3 .answer-item { width: 33%; }
Not perfect but can do the trick.
The order seems inlined like this :
1 2 3
4 5 6
7 8 9
Not like this:
1 4 7
2 5 8
3 6 9
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago #143008
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
talking for my template and the new "default":
The class "col-sm-12" override my request going "width:100%"
It seem like the bootstrap gridsistem ... i think i can't just style a div inside this rule...
mmmm
The class "col-sm-12" override my request going "width:100%"
It seem like the bootstrap gridsistem ... i think i can't just style a div inside this rule...
mmmm

keep improving
Attachments:
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago #143010
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
Maybe i resolved ...
Using the answer relevance field it seems to work like expected....
Not very quick... a have 82 + answer for each question (15+) ... but for my early test it works...
Using the answer relevance field it seems to work like expected....
Not very quick... a have 82 + answer for each question (15+) ... but for my early test it works...
keep improving
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago #143012
by Liod_DS
not true :side:
bad testing and good luck ...
i'm stuck
keep improving
Replied by Liod_DS on topic answer display columns error
Liod_DS wrote: Maybe i resolved ...
Using the answer relevance field it seems to work like expected....
Not very quick... a have 82 + answer for each question (15+) ... but for my early test it works...
not true :side:
bad testing and good luck ...
i'm stuck

keep improving
The topic has been locked.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 13225
- Thank you received: 2428
6 years 11 months ago - 6 years 11 months ago #143014
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic answer display columns error
I just make a quick test updated with firebug the width.
And with
And with
Code:
.col3 .col-sm-12 { width: 33% !important; }
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 6 years 11 months ago by DenisChenu.
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago - 6 years 11 months ago #143017
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
we need to put the upper container at 100% width
but still a lot messed up
Code:
.col-sm-12 .answer{ width:100% !important; }
but still a lot messed up

keep improving
Last edit: 6 years 11 months ago by Liod_DS. Reason: format
The topic has been locked.
- Liod_DS
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 1
6 years 11 months ago - 6 years 11 months ago #143020
by Liod_DS
keep improving
Replied by Liod_DS on topic answer display columns error
i think i have to set
all the empty <div>s ... in this case i can get it to work... i'm not a jQuery expert but with some selector is maybe possible...
something like :
not skilled enough to find the checkboxes.... maybe tomorrow ... (any help would be appreciated
)
Code:
display:none;
something like :
Code:
$(checkBoxNotDisplay).parent().closest('div').attr("display","none");
not skilled enough to find the checkboxes.... maybe tomorrow ... (any help would be appreciated

keep improving
Last edit: 6 years 11 months ago by Liod_DS.
The topic has been locked.