- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Mix three dropdown list together in one box (answer list to Q2 depends on Q1)
- rquirola
- Topic Author
- Offline
- New Member
Less
More
8 years 9 months ago - 8 years 9 months ago #122353
by rquirola
Mix three dropdown list together in one box (answer list to Q2 depends on Q1) was created by rquirola
Hello everyone,
I got 3 dropdown related dynamically using the javascript method that appears in this link:
www.limesurvey.org/en/forum/design-issue...q2-depends-on-q1-how
Now I need combining all 3 dropdown horizontal or vertically, because each one separately is impractical when the user need select several options. I followed the instructions in this post to try:
www.limesurvey.org/en/forum/design-issue...-together-in-one-box
but it turns out to be my 3 dropdown together no longer works the relationship A> A1> A11
I also went to an array, following these instructions: www.limesurvey.org/en/forum/can-i-do-thi...rt-text-and-dropdown , but the same thing happened, the relationship of the 3 dropdown stopped working.
Please help me with the code, I think this post will be helpful to others in the future
I hope to get something like any of these options:
I got 3 dropdown related dynamically using the javascript method that appears in this link:
www.limesurvey.org/en/forum/design-issue...q2-depends-on-q1-how
Now I need combining all 3 dropdown horizontal or vertically, because each one separately is impractical when the user need select several options. I followed the instructions in this post to try:
www.limesurvey.org/en/forum/design-issue...-together-in-one-box
but it turns out to be my 3 dropdown together no longer works the relationship A> A1> A11
I also went to an array, following these instructions: www.limesurvey.org/en/forum/can-i-do-thi...rt-text-and-dropdown , but the same thing happened, the relationship of the 3 dropdown stopped working.
Please help me with the code, I think this post will be helpful to others in the future
I hope to get something like any of these options:
Attachments:
Last edit: 8 years 9 months ago by rquirola. Reason: insert image
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
8 years 9 months ago #122356
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 Mix three dropdown list together in one box (answer list to Q2 depends on Q1)
Hi,
For the first part : selectfilter seems to work with the last limesurvey version : demonstration.sondages.pro/index.php/565163.html
Then : you must have something other broken in your survey. Tell us "It don't work" didn't help. Look at console.log, try with just this 2 question etc ....
For the screen shot : use selectfilter and some CSS/JS to hide "question part" can help Style A.
Style C is more difficult.
Denis
For the first part : selectfilter seems to work with the last limesurvey version : demonstration.sondages.pro/index.php/565163.html
Then : you must have something other broken in your survey. Tell us "It don't work" didn't help. Look at console.log, try with just this 2 question etc ....
For the screen shot : use selectfilter and some CSS/JS to hide "question part" can help Style A.
Style C is more difficult.
Denis
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.
- rquirola
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
8 years 9 months ago - 8 years 9 months ago #122423
by rquirola
Replied by rquirola on topic Mix three dropdown list together in one box (answer list to Q2 depends on Q1)
Denis thanks for the info!
there's probably a simpler way of grouping the dropdown-list, you could tell me please how to hide (via javascript) the title of these dropdown (class = "panel-heading") and border lines (class = "panel panel-default "), to hide the "panel-heading" the instruction is "display: none", but i not know apply in JS.-
Applying these changes would look like:
there's probably a simpler way of grouping the dropdown-list, you could tell me please how to hide (via javascript) the title of these dropdown (class = "panel-heading") and border lines (class = "panel panel-default "), to hide the "panel-heading" the instruction is "display: none", but i not know apply in JS.-
Applying these changes would look like:
Last edit: 8 years 9 months ago by rquirola. Reason: add image
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 9 months ago - 8 years 9 months ago #122425
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Mix three dropdown list together in one box (answer list to Q2 depends on Q1)
When using jquery something like this should do the trick:rquirola wrote: Denis thanks for the info!
there's probably a simpler way of grouping the dropdown-list, you could tell me please how to hide (via javascript) the title of these dropdown (class = "panel-heading") and border lines (class = "panel panel-default ")
Code:
$('.panel-heading').hide(); $('.panel-default').css('border','none');
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 8 years 9 months ago by Mazi.
The topic has been locked.