Error message in javascript

ChristophChristoph 2 hours south of Brisbane, AustraliaCommunity Member Qubie ✭

Error message in javascript

I am trying to implement http://mgto.org/quick-qualtrics-tricks-3-scale-results-calculation/ for the SF-36 (a standard physical and mental health questionnaire).

I get an error when I add the javascript setting a variable to an answer from a survey question. This leads to an error message on saving of the javascript of "Invalid JavaScript! You cannot save until you fix all errors: Unexpected token {

Qualtrics.SurveyEngine.addOnload(function()
{
var pf1 = ${q://QID13/ChoiceDescription/1};
});

Could anybody advise?

Tagged:

Best Answer

Answers

Sign In to Comment