Welcome, Guest
Username: Password: Remember me

TOPIC: checkbox array with column filter and exclusive options

checkbox array with column filter and exclusive options 1 year 4 weeks ago #101229

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 146
  • Thank you received: 7
  • Karma: 7
The thread "www.limesurvey.org/en/forum/can-i-do-thi...-in-a-question-group" that Denis has pointed me very nice and effective but it will not work if we will use relevance in any sub-question that is a building block of the whole question. This is because this script perform DOM manipulation.If we change the layout of page using pure CSS then our relevance will work smoothly. I am learning jquery and CSS and experimented a little bit.

Problem:
Although we can create a multi checkbox array by creating Numeric array with checkbox layout but it has many issues.
Ist: I have to write complex javascript for column filtering.
2nd: If have to use javascript to make any checkbox exclusive in a column.
3rd:It fix my request www.limesurvey.org/en/forum/future-featu...ayout-designer#99231

Solution:
I have group by group display layout . For array with muti checkbox I created as many questions as many columns I need in my array. Then used pure CSS to modify the layout. You can see column relevance from first question ie Filter and 5th answer option in every column is exclusive. It would be great is any CSS expert can help to further improve the layout so that it should not break on different screen size.

Please check below link:-
trivender.limequery.com/index.php/survey...82/newtest/Y/lang/en
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
Last Edit: 1 year 4 weeks ago by trivender.
The administrator has disabled public write access.

checkbox array with column filter and exclusive options 1 year 4 weeks ago #101256

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4372
  • Thank you received: 830
  • Karma: 381
Hi Trivender,

Consider wrapping all of the floated questions in a <div class="questions-outer-wrapper> element. You then position this wrapper a little easier.

api.jquery.com/wrapAll/
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

checkbox array with column filter and exclusive options 1 year 4 weeks ago #101257

  • trivender
  • trivender's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 146
  • Thank you received: 7
  • Karma: 7
Thanks ,With out wrapper the layout will be east to manage but I think relevance will not work. What do you say?
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.
Time to create page: 0.098 seconds
Donation Image