- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
An easier to use solution could be this plugin which doesn't require adding any custom JavaScript for having text fields at array questions: survey-consulting.com/product/array-with...t-limesurvey-plugin/Do you have permissions to insert JavaScript?
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify the questions var thisQuestion = $('#question{QID}'); var nextQuestion = thisQuestion.nextAll('.text-short:eq(0)'); // Hide the next question nextQuestion.hide(); // Move the text inputs $('tr[id^="javatbd"]:last td.answertext', thisQuestion).append($('.answer-item', nextQuestion)); // Clean-up styling $('td.answertext .answer-item', thisQuestion).css({ 'padding': 0 }); $('td.answertext .answer-item div', thisQuestion).css({ 'padding': 0 }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.