That's the first thing I tried. There appears to be some type of bug with equation questions. I'm unsure what's going on exactly, but it appears that if you write code in an equation question to produce a numeric, it won't change back to a string (and I think vice-versa) if you alter the code to produce a string. At least I think that's what's going on.
I recreated the equation question and put in the exact same code and it work's fine with the second equation question but refuses to work with the first one regardless of what I do.
I've finally got it going after about 5 hours trying to figure this out.
In LimeSurvey 2.X : equation question didn't trigger javascript action on the same page
In LimeSUrvey 3.X : equation question trigger some javascript action on same page, but it's unsure
In LimeSurvey 4.X (in some month) : equation question trigger near all javascript action on same page :
github.com/LimeSurvey/LimeSurvey/commit/...b023787ae93291e5130f
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Do I understand correctly that there is a lime version 4.x coming out soon? Is there anything on-line that would explain what the updates/new-features are?
Else before : use same equation than the equation question are the best solution. 5and 4.X can still have issue)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Yup. ...tried the NAOK also - didn't change anything. What worked was creating a new equation question from the beginning and simply pasting the exact same code that didn't work in the old equation question into it. ...and then it worked fine. I've got no idea why, but can say that this was occurring for several equation questions that were all copied from a different equation question. In all cases, when I created a new equation question without copying, they all worked with the exact same code that failed in the original equation questions. I can't say positively it had something to do with the copy process since a few things were done at the same time and I haven't had the time or desire to try to replicate the errors.