Source code mode for question stripping content after Save

0

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
    0

    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:

    https://help.surveygizmo.com/help/clean-my-html#clean-my-html

    I hope this helps clarify!

    Dominic Sharpe answered
      0

       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
        ×

        Login

        Question stats

        • Active
        • Views2218 times
        • Answers2 answers
        • Followers1 follower