Hi,
We are using a weighting formula for the scores of the survey, so we use Javascript instead of Expression Manager.
In Javascript, we have a variable value which is called 'valorTotal' and we want to give the value of this variable to the question. (The Javascript code is in the source option of the question)
There is a way to give the value of the variable to the question text, but the question doesn´t take the value, it only shows the value.
Code:
document.getElementById('answer5X339X2411').value = valorTotal;
For example, in the farewell message, we need to take a question value, and depending of his weighted value, it shows a different result.
Attachment not found
This doesn´t work, because the 'RINFO01' question, doesn´t have a value.
What I need is something like:
{RINFO01} = valorTotal;
I am using Limesurvey 3.17.7
Thanks for your time!