- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Attribute 1 {trim(substr(substr(H1, (substr(H0, 0, 3) - 1) * 209, 209),0,52))} {trim(substr(substr(H1, (substr(H0, 3, 3) - 1) * 209, 209),0,52))} Attribute 2 {trim(substr(substr(H1, (substr(H0, 0, 3) - 1) * 209, 209),0,52))} {trim(substr(substr(H1, (substr(H0, 3, 3) - 1) * 209, 209),0,52))}
// Identify this question var thisQuestion = $('#question{QID}'); // Move the radios $('.question-text table:eq(0) tr:last td:eq(1)', thisQuestion).append($('.subquestion-list .answers-list:eq(0) .answer-item:eq(0) *', thisQuestion)); $('.question-text table:eq(0) tr:last td:eq(2)', thisQuestion).append($('.subquestion-list .answers-list:eq(0) .answer-item:eq(1) *', thisQuestion)); // Some classes for presentation $('.question-text table:eq(0) input:radio', thisQuestion).closest('td').addClass('answer-item radio-item text-center radio'); $('.question-text table:eq(0) .radio-item label', thisQuestion).show(); // Click event on the table cells $('.question-text table:eq(0) .radio-item', thisQuestion).on('click', function(e) { $('input:radio', this).trigger('click'); }); $('.question-text table:eq(0) input:radio', thisQuestion).on('click', function(e) { e.stopPropagation(); }); // Clean-up styles $('.answer-container', thisQuestion).hide(); $('.question-text table:eq(0) .label-text', thisQuestion).remove(); $('.question-text table:eq(0) .radio-text', thisQuestion).css({ 'cursor': 'pointer' }); $('td.radio', thisQuestion).css({ 'display': 'table-cell', 'padding': '3px', });
In your scripts there is "$('#ls-button-submit').trigger('click');"the page just continually refreshes and tries to proceed to the next page.
Please Log in to join the conversation.
Please Log in to join the conversation.