Convert resource links and INSERTANS fields issue

More
3 years 7 months ago #100489 by first
first created the topic: Convert resource links and INSERTANS fields issue
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.

Survey Designer and Programmer

Please Log in to join the conversation.

More
3 years 7 months ago #100492 by c_schmitz
c_schmitz replied the topic: Convert resource links and INSERTANS fields issue
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).

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now