Source code mode for question stripping content after Save


Hi authored a survey a couple of months back with a zoom-in mouse-over JS function in the question source code.  This worked perfectly at the time and still works now for the original questions.

However, if I copy the question and change the image source in the code and save it, the zoom no longer works.

Looking at the question source code after it’s saved reveals that the SurveyGizmo system is stripping out some of the code that it wasn’t before.

Any ideas?

paulsoldera answered

    SurveyGizmo now strips script tags from question/text elements. Any scripts that you need to run on your survey will need to be added via the built in Custom Script Action or JavaScript Action:

    I hope this helps clarify!

    Dominic Sharpe answered

       Ok, so that’s good to know.  But it completely breaks the code I was using.  That sort of sucks.

      Any way to get around the stripping of the html?  I can understand moving the <script> tag to the Action area, but it’s also stripping out variable’s in the <div> tag that JS uses.


      paulsoldera answered


        Question stats

        • Active
        • Views4999 times
        • Answers2 answers
        • Followers1 follower