Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How can I save additional data for each question retrieved from a JS library?

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #218890 by tpartner
It looks like the platform isn't loading before you call functions (or at all). Did you look for it in the page source?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219687 by killmeplease
Yes, it seems to me too but in the page source I just find the same error in the library code, it's weird because the function is actually defined and on a local server (without using LS) it works. So I don't know how to fix.
But no worries, I switched to another library now! Unfortunately it's not open source and easy to use like webgazer but I'll see what I can do.
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219688 by killmeplease
Yes, it seems to me too but in the page source I just find the same error in the library code, it's weird because the function is actually defined and on a local server (without using LS) it works. So I don't know how to fix.
But no worries, I switched to another library now! Unfortunately it's not open source and easy to use like webgazer but I'll see what I can do.
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219689 by killmeplease
Yes, it seems to me too but in the page source I just find the same error in the library code, it's weird because the function is actually defined and on a local server (without using LS) it works. So I don't know how to fix.
But no worries, I switched to another library now! Unfortunately it's not open source and easy to use like webgazer but I'll see what I can do.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #219690 by DenisChenu
I see pjax : the pjax system is old, what is your limesurvey version ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219744 by killmeplease
I'm editing on the online editor, so it should be the latest (I think)
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #219745 by holch

I'm editing on the online editor, so it should be the latest (I think)


Limesurvey is an online application, so this can be ANY version. I see versions of Limesurvey in the forum that are 7 or more years old.

So you need to provide the exact version. You can usually find it at the bottom right corner of any Limesurvey Admin page.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219756 by killmeplease
So many things I didn't know! Thank you, I just checked and it's version 3.27.16
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #219759 by DenisChenu
My opinion : your surveytheme include some old javascript that broke other javascript

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 7 months ago #219764 by tpartner
Yes, do you get any other errors in the browser console (F12)?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219768 by killmeplease
This is everything I'm getting on the console, the only errors are those two
Attachments:
The topic has been locked.
  • killmeplease
  • killmeplease's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #219769 by killmeplease
So the library works fine, but the theme has some old javascript and for that reason the library will not start?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose