filter colums

More
4 years 6 months ago #85117 by Eule10
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

Please Log in to join the conversation.

More
3 years 7 months ago #98696 by first
Any update on this?

Survey Designer and Programmer

Please Log in to join the conversation.

More
3 years 7 months ago #98699 by Ben_V
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
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.