The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1

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

Variable Length Array (Multi Flexible Text) question code not working il y a 3 mois 3 semaines #92094

  • Gabriela
  • Portrait de Gabriela
  • Hors ligne
  • Senior Lime
  • Messages : 51
  • Karma: 0
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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Variable Length Array (Multi Flexible Text) question code not working il y a 3 mois 3 semaines #92100

  • Gabriela
  • Portrait de Gabriela
  • Hors ligne
  • Senior Lime
  • Messages : 51
  • Karma: 0
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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Variable Length Array (Multi Flexible Text) question code not working il y a 3 mois 2 semaines #92104

  • Gabriela
  • Portrait de Gabriela
  • Hors ligne
  • Senior Lime
  • Messages : 51
  • Karma: 0
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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Variable Length Array (Multi Flexible Text) question code not working il y a 2 mois 1 semaine #93724

  • Teddian
  • Portrait de Teddian
  • Hors ligne
  • Fresh Lemon
  • Messages : 13
  • Karma: 0
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.
Dernière édition: il y a 2 mois 1 semaine par Teddian.
L'administrateur à désactivé l'accès en écriture pour le public.
  • Page :
  • 1
Modérateurs: DenisChenu, ITEd
Temps de génération de la page : 0.174 secondes
Donation Image