Welcome to the LimeSurvey Community Forum

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

Array question: Fix question and options, and let the subquestion scrollable?

  • water1234
  • water1234's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago - 3 years 4 months ago #224890 by water1234
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.27.33
Own server or LimeSurvey hosting: inria
Survey theme/template: inria
==================
I have an Array Question with lots of subquestions. I want to fix the position of question text and answer options row(Strongly Disagree - Strongly Agree) on the screen and let users scroll up and down to see all subquestions. So users can always see the question and answer options when making choices.
I attached a diagram to explain it. 
 
Is there any way to do this?
Thank you.
Last edit: 3 years 4 months ago by water1234.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 4 months ago #224923 by DenisChenu
Semi included in SkelVanilla
extensions.sondages.pro/themes-and-templ...le-with-fixed-header

To have header + question + array header : more css/js.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • water1234
  • water1234's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago - 3 years 4 months ago #224944 by water1234
Thank you. But I cannot use the SkelVanilla theme. The themes I can use are shown in the following image.
Do you have any other workaround to achieve this?

 
Last edit: 3 years 4 months ago by water1234.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 4 months ago #224945 by DenisChenu
I think you can not

1. Update theme (custom.css and js file)
2. Add javascript in question text.

Then no.
Ask to INRIA SIG/DSI to contact me at www.sondages.pro/contact.html ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • water1234
  • water1234's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago - 3 years 4 months ago #225008 by water1234
I tried to add following js/css in the question text.

$("tbody").css("height","500px");
$("tbody").css("overflow","scroll");
$("tbody").css("display","block");

Then the subquestions can be scrollable. However, they cannot be displayed properly in width, as shown in the image.
Do you know how to modify to make them displayed properly in width?
Thank you.

 
Last edit: 3 years 4 months ago by water1234.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose