- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
There should be nothing "lost" when updating but always back up first.When I update to 2.06 all my changes are lost.
Place the following script in the source of a list-radio or multiple-choice question to hide all answers or sub-questions that have blank labels. (note, this only fires on page-load)...please tell me how to hide blank subquestions / answers in 2.05 of List (radio) and Multiple choice question type.
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID} label.answertext').each(function(i) { if($.trim($(this).text()) == '') { $(this).prev('input.radio, input.checkbox').prop('checked', false); $(this).next('input[type="hidden"]').attr('value', ''); $(this).closest('li.answer-item').hide(); } }); }); </script>
V001.NAOK != 'A1'