Welcome, Guest
Username: Password: Remember me

TOPIC: Expression Manager not working in IE

Expression Manager not working in IE 2 years 3 months ago #77338

  • JHN
  • JHN's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
I created a question which stores a score calculated using responses to the previous questions. This works just fine with Firefox, but does not work at all with IE8 or IE9. IE appears to have problems pulling in the previous responses. I tried using Expression Managers {XXX} to access the variable as well as {INSERTANS:SIDXGIDXQID}, but neither seem to work. I'm not too familiar with the different ways that Firefox and IE handle javascript. Would anyone be able to point me in the right direction please?

I've been able to successfully do something similar in other surveys when I used 1.91 (and had no problems with IE), but the update to 1.92 (Build 120319) seems to have changed things significantly. Any help would be greatly appreciated!
The administrator has disabled public write access.

Re: Expression Manager not working in IE 2 years 3 months ago #77344

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
JHN-

Please open a bug ticket and attach the survey that is causing trouble (plus, if you are using a custom template, please attach that too).
The administrator has disabled public write access.
The following user(s) said Thank You: JHN

Re: Expression Manager not working in IE 2 years 3 months ago #77346

  • JHN
  • JHN's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Just opened a bug ticket. Thank you for your quick response!
The administrator has disabled public write access.

Re: Expression Manager not working in IE 2 years 3 months ago #77361

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
Actually, the problem was a bug in the custom JavaScript embedded in the survey, not a bug in 1.92. The survey tried to compute an assessment score using JavaScript. Instead, it should use the new Equation question type like this:

(1) MAScore =
{sum(MA_1, MA_2, MA_3, MA_4, MA_5, MA_6, MA_7, MA_8, MA_9, MA_10)}

(2) iadlScore =
{sum(iadlA == 4, iadlB == 1, iadlC == 1, iadlD != 5, iadlE != 3, iadlF < 4, iadlG == 1, iadlH != 3)}
The administrator has disabled public write access.

Re: Expression Manager not working in IE 2 years 3 months ago #77362

  • JHN
  • JHN's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thank you, TMSWhite! You resolved my problem in such a timely manner. I was not familiar with all the capabilities of the new equation question type, especially that it had the capability of including logic.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.220 seconds
Donation Image