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

SUJET : Convert resource links and INSERTANS fields issue

Convert resource links and INSERTANS fields issue il y a 6 mois 2 semaines #100489

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 128
  • Remerciements reçus 4
  • Karma: 5
I have a survey,


For instance in survey1 i used document.getElementById("answer11111X22222X3333333").where,

survey ID of survey1= 11111
Group ID for survey1 = 22222
Question ID for survey1 = 3333333

when I duplicate ( export lss of this survey and import it back) the survey I found that this code is changed to document.getElementById("answer44444X55777555X666666") in the duplicate one(survey2)

survey ID of survey2= 44444
Group ID for survey2 = 55555
Question ID for survey2 = 666666.

You can see there are some undesired numbers 777 is survey 2 group id.I remember when i duplicated surveys in past all fields like surveyid , groupid and question ids changed automatically to match the new survey but this time it not.

Can someone please help me to figure out how it happened and give me some resolution for the same.
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
L'administrateur a désactivé l'accès en écriture pour le public.

Convert resource links and INSERTANS fields issue il y a 6 mois 2 semaines #100492

  • c_schmitz
  • Portrait de c_schmitz
  • Hors ligne
  • LimeSurvey Team
  • Messages : 719
  • Remerciements reçus 91
  • Karma: 83
The conversion should not touch Javascript as I am wondering that it touches that bit at all. It should only convert the official EM tags. However if it converted JS bits like that for you then you are lucky, but it is not officially supported (and therefore not error-free).
Support us, too. Donate to the LimeSurvey project and help keep us going!
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.127 secondes
Donation Image