Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

html question not displayed correctly

More
5 years 5 months ago #196168 by FSoave
Hi,
I'm not sure why but the html code I copied from a working survey it's not interpreted correctly in mine and errors are reported in the question. You can see in the screenshot. Am I missing anything?
Thanks
The topic has been locked.
More
5 years 5 months ago #196169 by tpartner
It looks like the editor has inserted a bunch of junk.

Copy the code from the working survey with the editor in source mode and paste it into the new survey with that editor also in source mode.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
5 years 5 months ago - 5 years 5 months ago #196174 by FSoave
Hi,
thanks. Unfortunately that's exactly what I did. From source mode to source mode editor. Do I have to activate any particular thing for this type of question?

update:

Btw I've managed to export/import the question in my survey with no issues and it works at first, but..as soon as I change the question code or edit any part of the question (tried with both editors), the HTML breaks..!

Ok it seems there's somethign going on with the HTML editor and copy/paste.
Current solution: write the html in Atom (or any other text editor) and then copy the whole thing in the question field. Not very practical but at least it works for now.
I'd be happy to know more about the issue as basically I cannot edit anything from limesurvey question editor (or it will break again)
Last edit: 5 years 5 months ago by FSoave.
The topic has been locked.
More
5 years 5 months ago #196183 by Joffm
Yes, I know about this problem with HTML brackets.

My workaround is to enter it, save it, and never touch again.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
5 years 5 months ago #196195 by FSoave
I see, thanks! Is there an issue open about it?
The topic has been locked.
More
5 years 5 months ago #196197 by holch
I would switch the editor off anyway. Those editors generally only cause more problems than they help.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
5 years 5 months ago #196249 by DenisChenu
Editor on demand only.

Allowed in 3, not in 4 ....

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.
The topic has been locked.
More
5 years 5 months ago #196297 by holch

Editor on demand only. Allowed in 3, not in 4 ....


Yeah, this is what I use in LS3. Just checked, an really, this is not an option in LS4 anymore. A step back...

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose