Topic on Extension talk:Survey

Problem creating surveys

10
81.105.166.145 (talkcontribs)

I've managed to install and I get only the top pane of the EditSurvey page (as in your screen capture), but I get no add/remove question buttons, just SAVE and CANCEL. What could be wrong.

MW1.17.0 from SVN, PHP 5.3.6

Jeroen De Dauw (talkcontribs)

There most likely is some JavaScript error on your page which is breaking the JavaScript of the survey edit page, which adds this button.

81.105.166.145 (talkcontribs)

How to diagnose?

81.105.166.145 (talkcontribs)

Ok seems to work in Firefox, but not IE - which is a shame as sadly far more people here use IE than Firefox. I wonder if there is a simple fix that would make it more portable?

Moog~mediawikiwiki (talkcontribs)

Interesting. I've just got home and it seems it works in IE9 at home but not IE9 in the office. So it must be something simple. Perhaps there is a test that the page can do and revert to a less advanced display method?

This post was posted by Moog~mediawikiwiki, but signed as Moog.

Jeroen De Dauw (talkcontribs)

I found some "issues" that would cause the JS to break in IE and fixed them in r102761. So if you get trunk, it ought to work. lmk if you need an actual tarball release to test.

81.105.166.145 (talkcontribs)

Yay, that seems to have fixed the form display in IE9. However the Submit button on the TakeSurvey form does not work. It greys out but does not go to the "thank you" form. It seems to work on Firefox though.

Jeroen De Dauw (talkcontribs)

U just made some more JS tweaks which might fix it. If they don't, I need to know where it's going wrong, since I cannot test on IE w/o booting a VM which is to much work to test compat w/ broken browser w/o someone paying me for it :)

81.105.166.145 (talkcontribs)

Yep, that looks like it's done the job. Thank you!!

193.120.46.241 (talkcontribs)

Hi Jeroen,

Apologies, I checked the changes you made to your code. My post was a duplication of the JS file changes.

Thank you for your work the Survey Extension is exactly what I was looking for.

Reply to "Problem creating surveys"