Ask the community, share ideas, and connect with other LimeSurvey users!
Log in
Forgot your password? Forgot your username?
<script type="text/javascript" charset="utf-8"> $(document).on('ready',function(){ var thisSelect = $('#question{QID} input[id^="answer"]:eq(0)'); var secondSelect = $('#question{QID}').nextAll('[id^="question"]:eq(0)').find('input[id^="answer"]:eq(0)'); var thirdSelect = $('#question{QID}').nextAll('[id^="question"]:eq(1)').find('input[id^="answer"]:eq(0)'); // Move the first dropdown $('#question{QID} .inserted-dropdown:eq(0)').append(thisSelect); // Move the second dropdown $('#question{QID} .inserted-dropdown:eq(1)').append(secondSelect); // Move the second dropdown $('#question{QID} .inserted-dropdown:eq(2)').append(thirdSelect); // Hide the next question $('#question{QID}').nextAll('[id^="question"]:eq(0)').hide(); // Hide the next question $('#question{QID}').nextAll('[id^="question"]:eq(1)').hide(); }); </script> <style type="text/css">#question{QID} input { display: inline-block; margin: 0 0 0 -0.25em; width: 17%; height: auto; padding: 0; } </style>
Online-surveys for every purse and purpose