Check out the LimeSurvey source code on GitHub!

Variable Length Array (Multi Flexible Text) question code not working

More
3 years 11 months ago #92094 by Gabriela
Hi all,
I updated to Limesurvey 2.0 (limesurvey200plus-build130129) and the javascript code,

from this workaround , Variable Length Array (Multi Flexible Text) question, isnt working anymore...
Made some checks (no java expert at all) and its seems that is not picking up correctly this variable: var rowCount = $(arrayRow).size() - 1;
Please, can anyone check the code ?

thanks a lot.

Please Log in to join the conversation.

More
3 years 11 months ago #92100 by Gabriela
Sorry , I just noticed the link wasn't available:

Variable Length Array (Multi Flexible Text) question

docs.limesurvey.org/Workarounds%3A+Manip...exible_Text_question


thanks again.

Please Log in to join the conversation.

More
3 years 11 months ago #92104 by Gabriela
I just discovered the problems:

Have to change this:

var arrayRow = '#question' + qID + ' table.question tbody';


to this:

var arrayRow = '#question' + qID + ' table.question tbody tr';


thats all.(relief)

thanks
The following user(s) said Thank You: rquirola

Please Log in to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #93724 by Teddian
Hey everyone,

I am trying to make this work but I cannot. I am a real novice in programmins so I would appreciate if someone could upload an .lss file. So i can see how or where to paste/edit the js code.

Edit: I have limesurvey 2.00+ and I followed the instructions to the tee, in the corresponding posts.
Last Edit: 3 years 10 months ago by Teddian.

Please Log in to join the conversation.

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