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?

More
1 year 7 months ago #218643 by killmeplease
Hello everybody,
I would like to integrate this JS library webgazer.cs.brown.edu/ into the fruity theme. The library is for eye-tracking what the person taking the survey is looking at.
In the end I need to be able to see what the person that took the survey looked at for each question but separately (or the eye-tracking data will be a bit messy if it's saved for the questions of the whole survey all together). 
Adding the library into the head of the template as a source doesn't seem particularly hard to do (at least I hope), my struggle is that I need to save the data for each question separately.
I already extended the fruity theme and now I'm trying by editing it but I think that for what I have to do it's not enough, I may have to edit the question theme but right now LS doesn't allow me to (or maybe I didn't find the right option?). How can I do it?
I don't know how to save data like that and also I don't know how to access it later, I don't know how to proceed and I'm a bit stuck. If anyone could help me with some advice or ideas I would really appreciate, thanks in advance!
 
The topic has been locked.
More
1 year 7 months ago #218648 by DenisChenu
2 solution :

1. Learn development
2. Hire a developer : www.limesurvey.com/customization

Here, in my opinion : it's clearly something out of free help except if you shown what you try, ask some specific question.

See stackoverflow.com/help/how-to-ask

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.
More
1 year 7 months ago #218654 by killmeplease
Hello, thanks for your answer.
For reasons that I will not write here, I have to do this on my own and that's why I asked for some advice on how to proceed as I have no clue of where to start. I am trying to learn developement.
As I clearly wrote in my forum post, the question theme editor is not editable yet from LimeSurvey's website, so that's why I asked for some advice on how I could do that since: editing the question theme is the only thing that came to my mind; but if anyone has a better method I didn't find, I'd gladly listen to them.
The topic has been locked.
More
1 year 7 months ago #218662 by DenisChenu
I already give you bunch of plugin code for example.
Then : you know where you can start.

Else
gitlab.com/SondagesPro/coreAndTools/autoSaveAndQuit : add JS + check POST value
gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse save something oin another DB each time respondent update response.

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.
More
1 year 7 months ago #218664 by killmeplease
You didn't "give" me anything but it's okay, thanks anyway I guess.
I will be waiting if anyone else has any useful advice. Have a nice day!
The topic has been locked.
More
1 year 7 months ago - 1 year 7 months ago #218668 by DenisChenu
Sorry : you'rte right : near same questions before : forums.limesurvey.org/forum/development/...ta-for-each-question

I think it's you.

Else : Hour of coding and it's nothing … thousand of code line and it's nothing.

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.
Last edit: 1 year 7 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose