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

More
4 years 1 month 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
4 years 1 month 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
4 years 1 month 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
4 years 2 weeks ago - 4 years 2 weeks 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: 4 years 2 weeks ago by Teddian.

Please Log in to join the conversation.