- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
I think because your condition didn't contain blanks between the operators.the transportation mode selection question still appears. I'm confuse how to make it work
Not really an issue, but a wish.Another issue I have is that I don't want to display the 'Previous' button during these two group to prevent them from going back and modifying their previous answers.
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#ls-button-previous').hide(); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
task1_Y001.NAOK=="X001" OR task1_Y001.NAOK=="X002"
// Listener on the "Next" button $('#ls-button-submit').on('click', function(e) { if($('.sub-group-1:visible').length > 0) { e.preventDefault(); $('.sub-group-1').hide(); $('.sub-group-2').show(); // Remove the line below to keep the "Next" button enabled // $('#ls-button-submit').prop('disabled', true); } });
// Listener on the "Next" button $('#ls-button-submit').on('click', function(e) { if($('.sub-group-1').is(':visible') && !$('.sub-group-2').hasClass('ls-irrelevant')) { e.preventDefault(); $('.sub-group-1').hide(); $('.sub-group-2').show(); } });
Please Log in to join the conversation.
Please Log in to join the conversation.
Replace && with &&.
Please Log in to join the conversation.
Please Log in to join the conversation.