Welcome, Guest
Username: Password:

TOPIC: filter colums

filter colums 3 years 7 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 2 years 8 months ago #98696

  • OMdev
  • OMdev's Avatar
  • Offline
  • Gold Lime
  • Posts: 316
  • Thank you received: 32
  • Karma: 14
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 2 years 8 months ago #98699

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1670
  • Thank you received: 413
  • Karma: 106
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 => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.160 seconds