- Posts: 10223
- Thank you received: 3640
Ask the community, share ideas, and connect with other LimeSurvey users!
Can what be used? There are many script samples in this thread.Can this be used in Arrays?
Please explain exactly what you want to do and what you have tried.But this code hides all next, can you hide only one problem page's next?
I am displaying all questions on a single page and would like to automatically proceed to the next question
You used the correct snippet to insert into "custom.js"?I added your snippet for list-radio questions
$(document).on('ready pjax:scriptcomplete',function(){ $('.list-radio input[type="radio"]').on('click', function() { $('#ls-button-submit').trigger('click'); }); });
No. We cannot see what you are doing, unless we see at least your lss export.Any idea what I might be doing wrong?
/****************** User custom JS --------------- Put JS-functions for your template here. If possible use a closure, or add them to the general Template Object "Template" */ $(document).on('ready pjax:scriptcomplete',function(){ /** * Code included inside this will only run once the page Document Object Model (DOM) is ready for JavaScript code to execute * @see https://learn.jquery.com/using-jquery-core/document-ready/ */ $('.list-radio input[type="radio"]').on('click', function() { $('#ls-button-submit').trigger('click'); }); });