- Posts: 7
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$(document).on("click","#answer{SQA}-Y",function(){ $('#movesubmitbtn').click(); });
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { if($('#answer{SQA}-Y').is(':checked')) { $('#movesubmitbtn').trigger('click'); } }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID}').hide(); if($('#answer{SQA}-Y').is(':checked')) { $('#movesubmitbtn').trigger('click'); } }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID}').hide(); if($('input.radio[id$="X{QID}Y"]').is(':checked')) { $('#movesubmitbtn').trigger('click'); } }); </script>
:blush: :whistle: i never test script in forumtpartner wrote: Oops, that was a typo using Denis' code :blush: