Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: filter colums

filter colums 4 years 3 months ago #85117

  • Eule10
  • Eule10's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Dear Limeforum,
is it possible to filter Columns in Arrays (Typ: Array by column)?
I have a Question to school status. Before this question, I aks “Is there a partner?”. Now I want hide the Partner-Colum when partner not exist.

Thanks for help,
Eule
The administrator has disabled public write access.

filter colums 3 years 4 months ago #98696

  • first
  • first's Avatar
  • Offline
  • Platinum Lime
  • Posts: 329
  • Thank you received: 35
  • Karma: 15
Any update on this?
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.

filter colums 3 years 4 months ago #98699

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1897
  • Thank you received: 469
  • Karma: 118
Some solution available in french forum
<script>
 
$(document).ready(function() { 
if ("{INSERTANS:123X456X789SQ001}"=="YES") 
 
$("#question{QID} table.question tbody tr").each(function(){ 
$(this).find('td').eq(1).css("display",'none');
});
$("#question{QID} table.question thead tr").each(function(){ 
$(this).find('th').eq(1).css("display",'none');
});
});
</script>
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.
Time to create page: 0.226 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form