- Posts: 26
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Bootstrap Buttons not aligned when filtered
- Gustavo_Kremer
- Topic Author
- Offline
- Junior Member
Less
More
4 years 8 months ago #186520
by Gustavo_Kremer
Bootstrap Buttons not aligned when filtered was created by Gustavo_Kremer
Hi, I'm attaching a sample exercise, with two multiple choice questions (Q1 and Q2). The idea is to filter Q2 in order to show only the options checked in Q1. But the tricky part is that Q2 must be shown as bootstrap buttons. Last year I could do it normally, but now the button alignment doesn't work well. It shows correctly the options checked in Q1 (that works fine), but instead of showing all options together, there are blank spaces in the area that the options not checked in Q1 would be (if they were checked). Here is an example:
I tryed with all the available options and couldn't find a way to correct this. Anybody can help?
Many thanks!
I tryed with all the available options and couldn't find a way to correct this. Anybody can help?
Many thanks!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
4 years 8 months ago #186527
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Bootstrap Buttons not aligned when filtered
Hi, Gustavo,
which theme are you using?
Each of the standard themes (bootstrap, fruity, vanilla) show ALL buttons, but the filtered are disabled.
Therefore I think the spaces in your screenshot are disabled buttons, hidden by the theme.
Anyway, this behaviour (ALL buttons) is not the best.
Joffm
which theme are you using?
Each of the standard themes (bootstrap, fruity, vanilla) show ALL buttons, but the filtered are disabled.
Therefore I think the spaces in your screenshot are disabled buttons, hidden by the theme.
Anyway, this behaviour (ALL buttons) is not the best.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Gustavo_Kremer
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
4 years 8 months ago #186530
by Gustavo_Kremer
Replied by Gustavo_Kremer on topic Bootstrap Buttons not aligned when filtered
Hi Joffm! I'm using an extension of the Vanilla theme, but also tried Fruity and and Bootswatch, and the result was the same.
One of the options available let you choose whether you want to hide or disable filtered buttons. My screenshot shows what happens if you choose to "hide".
I guess I'll have to go with the default layout instead (even though bootstrap looked better). The ideal solution for my particular need would have been a Array Numeric with checkbox layout, but I'm unable to filter columns, so I chose instead go with several rotated multiple choice questions.
Thanks anyway!
One of the options available let you choose whether you want to hide or disable filtered buttons. My screenshot shows what happens if you choose to "hide".
I guess I'll have to go with the default layout instead (even though bootstrap looked better). The ideal solution for my particular need would have been a Array Numeric with checkbox layout, but I'm unable to filter columns, so I chose instead go with several rotated multiple choice questions.
Thanks anyway!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
4 years 8 months ago #186533
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Bootstrap Buttons not aligned when filtered
Hi,
you should file a bug report for this.
In my opinion this behaviour is not the one people expect.
For your array(numeric): Did you try the plugin "hideEmptyColumns"?
gitlab.com/SondagesPro/QuestionSettingsType/hideEmptyColumn
Joffm
you should file a bug report for this.
In my opinion this behaviour is not the one people expect.
For your array(numeric): Did you try the plugin "hideEmptyColumns"?
gitlab.com/SondagesPro/QuestionSettingsType/hideEmptyColumn
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Gustavo_Kremer
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
4 years 8 months ago #186534
by Gustavo_Kremer
Replied by Gustavo_Kremer on topic Bootstrap Buttons not aligned when filtered
The plugin looks promising. I'll give it a try tomorrow. Many many thanks!
In any case, I'll report the bug.
Thanks again!
In any case, I'll report the bug.
Thanks again!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
4 years 8 months ago #186547
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Bootstrap Buttons not aligned when filtered
Hi, Gustavo,
here a working example with plugin "hideEmptyColumns".
Joffm
here a working example with plugin "hideEmptyColumns".
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Gustavo_Kremer
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
4 years 8 months ago #186551
by Gustavo_Kremer
Replied by Gustavo_Kremer on topic Bootstrap Buttons not aligned when filtered
That's great! But I'm a total noob. I'm not sure if I can install third party plugins with my subscription (LimeSurvey Pro Expert, without direct access to the server).
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
4 years 8 months ago #186553
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Bootstrap Buttons not aligned when filtered
Ask them
"Support / Contact Us"
Joffm
"Support / Contact Us"
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Gustavo_Kremer
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 0
4 years 8 months ago #186554
by Gustavo_Kremer
Replied by Gustavo_Kremer on topic Bootstrap Buttons not aligned when filtered
Did that, fingers crossed!
Many, many thanks
Many, many thanks
The topic has been locked.