Welcome to the LimeSurvey Community Forum

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

Use HTML-code in attribute fields

  • Surveylab_KN
  • Surveylab_KN's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 9 months ago #224655 by Surveylab_KN
Use HTML-code in attribute fields was created by Surveylab_KN
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.2.10+220118
Own server or LimeSurvey hosting: Own server
Theme: survey participant - use HTML-code in attribute fields
==================
Hi,
in former surveys I have used the participation table to upload individual data for each repsondent and used this information in the survey to show to the respondents. Therefore the attribute fields contain html-code. In an older version of Limesurvey (Version 3.27) this works very well. But in the actual version the html-code disappears and only the plain text is availabe. Can someone help me with this problem or is the use of html-code in the attribute fields no longer possible?
Best,
Konstantin
The topic has been locked.
More
2 years 9 months ago #224662 by jelo
Replied by jelo on topic Use HTML-code in attribute fields
This a known issue. But it is unclear, if HTML code in participant attributes should be supported.
I recommend to add your comment to this bug report and confirm that you think it is an mistake to no longer support it.

bugs.limesurvey.org/view.php?id=17840

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu, Surveylab_KN
The topic has been locked.
  • Surveylab_KN
  • Surveylab_KN's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 9 months ago - 2 years 9 months ago #224663 by Surveylab_KN
Replied by Surveylab_KN on topic Use HTML-code in attribute fields
Thanks. It's very helpfull to know it is no longer supported. I invested quite a lot of time trying to solve the problem, as I used this in former versions and thought I did something wrong.
Last edit: 2 years 9 months ago by Surveylab_KN.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 9 months ago #224695 by DenisChenu
Replied by DenisChenu on topic Use HTML-code in attribute fields
The only way to add HTML before is to use import from CSV for admin

But editing manually remove all tag : it's a big issue … you can think it's OK for all of your user excepot some.

Allow filtered HTML tag can be done, but it's complex since it can be allowed to external user :)

Maybe create a feature request to add a settings on attribute ?
"Allow HTML tag" to no by default.

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.
  • Surveylab_KN
  • Surveylab_KN's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 9 months ago #224752 by Surveylab_KN
Replied by Surveylab_KN on topic Use HTML-code in attribute fields
For me it was a nice way to solve my needs. I was used to do it this way, but now I split up my text and implement the HTML-code in the question embracing the text. This works as well, but in some cases it is a bit more work.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 9 months ago #224753 by DenisChenu
Replied by DenisChenu on topic Use HTML-code in attribute fields
I use it too .

Until it broke a live survey because we need to update some participant data … and client are really unhappy ;)

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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose