- Posts: 1
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript"> $(document).ready(function() { // Initially disable the Next/Submit button $('button[type="submit"]').hide(); // Listeners on Yes/No radios to toggle the Next/Submit button $('input.radio[value="Y"]').click(function(){ $('button[type="submit"]').show(); }); $('input.radio[value="N"]').click(function(){ $('button[type="submit"]').hide(); alert('please agree or leave') }); }); </script>