Check out the LimeSurvey source code on GitHub!

Multiple Question type array

More
5 years 6 months ago #63562 by paulfiner
Hi

I have successfully implemented the workaround by tpartner to show multiple question types in an array as shown here

I would like to put a boilerplate question at the beginning of the group to give some information but at the moment, this is getting merged into the question table.
Is it possible to stop this?

Cheers

Paul

Please Log in to join the conversation.

More
5 years 6 months ago #63574 by tpartner
Untested but try this:

Find this
$(document).ready(function() {
And add this on the next 2 lines
$('div[id^="question"]').addClass('moveable');
$('.boilerplate:first').removeClass('moveable');


Then replace this
if(rowNum <= rows) { // This IF condition only needed if there are questions following the "inline" questions
With this
if(rowNum <= rows && $(this).hasClass('moveable')) { // This IF condition only needed if there are questions following the "inline" questions

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 5 months ago #63910 by paulfiner
Hi Tony

I've only just got round to implementing this and the solution you suggested doesn't seem to work.
I now just get each question underneath each other in a long list.

I can send you a link to the survey, via email, if it would help.

Cheers

Paul

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form