Welcome to the LimeSurvey Community Forum

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

html question not displayed correctly

  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 weeks 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
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196169 by tpartner
Replied by tpartner on topic html question not displayed correctly
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.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 weeks ago - 4 years 2 weeks ago #196174 by FSoave
Replied by FSoave on topic html question not displayed correctly
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: 4 years 2 weeks ago by FSoave.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196183 by Joffm
Replied by Joffm on topic html question not displayed correctly
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.
  • FSoave
  • FSoave's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 weeks ago #196195 by FSoave
Replied by FSoave on topic html question not displayed correctly
I see, thanks! Is there an issue open about it?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196197 by holch
Replied by holch on topic html question not displayed correctly
I would switch the editor off anyway. Those editors generally only cause more problems than they help.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196249 by DenisChenu
Replied by DenisChenu on topic html question not displayed correctly
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 service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196297 by holch
Replied by holch on topic html question not displayed correctly

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...

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose