- Posts: 61
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
No, no con el filtro de array, sino con la relevancia de la subpreguntas.A07.- me tiene que mostrar los que pusieron arriba de nota 5, 6 y 7 en A06 yo pienso hacer matriz con filtro de array
Please Log in to join the conversation.
Versión 4.3.4+200713
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script> /* * JavaScript functions to hide empty answers colum in LimeSurvey * This allow using Expression Manager to hide answers in array question type * * @author Denis Chenu <denis@sondages.pro> * @copyright 2013-2015 Denis Chenu <https://sondages.pro> * @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later * @version 1.1 * */ $("table.question,table.ls-answers").each(function(){ var basetable=$(this); basetable.find('col.odd,col.even,col.ls-col-odd,col.ls-col-even').addClass('havewidth'); $(this).find("thead th").each(function(){ if($.trim($(this).html())==""){ if(basetable.find('col.havewidth').length){ basetable.find('col.havewidth').removeAttr('width').removeClass('havewidth'); } var colindex=$(this).parent('tr').find('td,th').index($(this)); basetable.find('col').eq(colindex).css('width',0); basetable.find('col').eq(colindex).width(0); basetable.find('tr').each(function(){ $(this).find('td,th').eq(colindex).addClass('hideEmptyColumn-hiddencolumn').children().hide(); }); basetable.addClass('hideEmptyColumn-widthhiddencolumn'); } }); }); </script> <style type="text/css">td.hideEmptyColumn-hiddencolumn,th.hideEmptyColumn-hiddencolumn{ overflow:hidden !important; border-spacing:0 !important; border-collapse:collapse !important; padding:0 !important; width: 0 !important; height: 0 !important; min-width: 0 !important; } td.hideEmptyColumn-hiddencolumn *,th.hideEmptyColumn-hiddencolumn * { display:none; } table.ls-answers > tbody > tr > td.hideEmptyColumn-hiddencolumn{border-collapse:collapse !important;} table.hideEmptyColumn-widthhiddencolumn{ border-collapse:collapse !important; } </style>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.