- Posts: 18
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
You cannot edit question themes directly, you would need to create a custom question theme.I am still not sure on the best way to proceed: if I should edit just the head of the survey theme or the question theme.
Create a long-text question and give it a CSS class "hidden. This will hide the question from the respondent but allow you to manipulate it with JavaScript. For testing, of course, you will want to leave the question visible.Also, what is a hidden text question?
I'm not going to dig into the WebGazer.js library but it seems to me that it should be something like this in the source of that hidden question:And what do you mean by "writing output into a LimeSurvey question"?
webgazer.setGazeListener(function(data, elapsedTime) { if (data == null) { return; } var xprediction = data.x; //these x coordinates are relative to the viewport var yprediction = data.y; //these y coordinates are relative to the viewport $('#question{QID} textarea').val(data); // Load the data into this question }).begin();