- Posts: 30
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
(if(is_empty(Q00.NAOK), TOKEN:ATTRIBUTE_1, Q00.NAOK)}]
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.
.disable-irrelevant.ls-irrelevant.ls-hidden { display:block; } .disable-irrelevant.ls-irrelevant .form-control { background-color: #eee; cursor: not-allowed; } .no-question { border-top:0; margin-top: -5px; } .no-question .question-title-container, .no-question .question-valid-container { display:none; } .no-bottom { border-bottom:0; margin-bottom:0; } .no-question .answer-container { padding-top: 0em; padding-bottom: 0.5em; } .no-question .question-container { border: none !important; margin-top: -10px !important; } .no-bottom .answer-container { padding-bottom: 0em; }
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); var nextQuestion = $(thisQuestion).nextAll('.text-short:eq(0)'); $(nextQuestion).hide(); // Listeners on the radios $('input:radio', thisQuestion).on('click', function(e) { var thisIndex = $(this).closest('.answer-item').index(); if(thisIndex<1) { $(nextQuestion).show(); } }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.