- Posts: 18
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
What kinds of support and resources would {orgname} prefer to receive through the project? <script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID} tr[id^="javatbd"]').each(function(i) { if($('#question{QID} input.radio:checked').length == 0) { document.getElementById('answer{SGQ}-A3').checked = 'checked'; }) }) }); </script>
What kinds of support and resources would {orgname} prefer to receive through the project? <script type="text/javascript" charset="utf-8"> $(document).ready(function() { if($('#question{QID} input.radio:checked').length == 0) { document.getElementById('answer{SGQ}SQ001-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ002-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ003-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ004-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ005-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ006-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ007-A3').checked = 'checked'; document.getElementById('answer{SGQ}SQ008-A3').checked = 'checked'; } }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID} tr[id^="javatbd"]').each(function(i) { if($('input.radio:checked', this).length == 0) { var radio = $('input.radio[value="A3"]', this); $(radio).prop('checked', true); checkconditions($(radio).val(), $(radio).attr('name'), 'radio'); } }); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ // Identify this question ID var qID = {QID}; // Loop through the rows and check the first radio if none are already checked $('#question'+qID+' .table-array-radio tr.answers-list').each(function(i) { if($('input[type="radio"]:checked', this).length == 0) { $('input[type="radio"]:eq(0)', this).trigger('click'); } }); }); </script>