Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Different Question format in a page

  • arnabbhuyan
  • arnabbhuyan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 week ago #227616 by arnabbhuyan
Different Question format in a page was created by arnabbhuyan
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.16.1+190314
Own server or LimeSurvey hosting: Own
Survey theme/template: 
==================
Hello,
Different question types can be achieved in a single page? Like the below:
[img]C:\Users\arnab.bhuyan\Pictures[/img]Eg1 --> In this type where we have a rating question and followed by 2 multi-choice questions and a single Open question.
Eg2 --> In this type 1 multi-choice question with header(achieved through JS) and a single Open question.
Eg3 --> 2 dropdown question in a single page where second dropdown is dependent on 1st dropdown that means if i select Cat A in 1st dropdown then related sub categories would be shown in 2nd dropdown question. Would this be possible to do in limesurvey?     

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 week ago #227621 by holch
Replied by holch on topic Different Question format in a page
Yes, you can achive this by using the group by group display and put the questions that you want to be displayed on the same page into the same group.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 week ago #227622 by Joffm
Replied by Joffm on topic Different Question format in a page
Quick and rough example
 

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • arnabbhuyan
  • arnabbhuyan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 week ago #227623 by arnabbhuyan
Replied by arnabbhuyan on topic Different Question format in a page
Hi Joffm,
Thanks for the quick reply and structure explanation.
Could you share the .lss if you don't mind.

Thanks in advance,
Arnab

Please Log in to join the conversation.

  • arnabbhuyan
  • arnabbhuyan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 week ago #227625 by arnabbhuyan
Replied by arnabbhuyan on topic Different Question format in a page
Thanks Holch... i am already using Group by Group display.. but how could we achieve how joffm has achieved(look and feel). If you could help me on that.

Thanks,
Arnab

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 week ago #227626 by Joffm
Replied by Joffm on topic Different Question format in a page
Hi,
it is a mixture of this
[url] forums.limesurvey.org/forum/design-issue...s-same-height#216299 [/url]
and the use of css class "no-bottom" in the first question.
Here the code of both classes.
Code:
<style type="text/css">
.no-question { border-top:0; }
.no-question .question-title-container { display:none; }
.no-question .question-valid-container { display:none; }
.no-question .answer-container {
    padding-top: 0em;
    padding-bottom: 0.5em;
} 
.no-bottom { border-bottom:0;margin-bottom:0; }
.no-bottom .answer-container {
    padding-bottom: 0em;
 }
</style>

The same you may achieve with these css classes
Code:
<style type="text/css" data-author="Tony Partner">
.question-container.merge-bottom {
margin-bottom: 0;
border-bottom: 0 none;
}
  .question-container.merge-top {
   margin-top: -1px;
  border-top: 0 none;
  }
  .question-container.hide-question-text .question-title-container {
   display: none;
  }
</style>

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • arnabbhuyan
  • arnabbhuyan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 day ago #227917 by arnabbhuyan
Replied by arnabbhuyan on topic Different Question format in a page
Many thanks for your guided reply.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose