Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: html entities showing on error message

html entities showing on error message 1 year 7 months ago #84862

  • chinaski
  • chinaski's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
I have a mandatory multiple choice field with an optional text box for 'other'.

When the form is submitted without choosing any of the choices the error message appears. In this case however the quote around the field name is displaying in it's html entity form:

This question is mandatory. Please check at least one item.
If you choose 'Other:', then please provide a description.

I need to either remove the quotes around Other in the message itself or maybe there is a setting someplace to remove the html entities encoding of the quote string.

Assistance is appreciated.
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 7 months ago #85037

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Can you please update to the latest version and retest?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 7 months ago #85053

  • chinaski
  • chinaski's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
I'm at the latest release according to the update checker, Version 1.92+ Build 120822.
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 7 months ago #85174

  • chinaski
  • chinaski's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Still seeing this behaviour. Any ideas?
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 6 months ago #86171

Hi all,

It seems I have the same problem.

With empty mandatory questions i get, in red, below the question, warnings with untranslated quotes (').
Indicating i need to write something when I choose 'other', which comes out as 'other'
(I use dutch so it actually is: 'Andere:' )

I use version 1.92+ Build 120919

What can i do to narrow down the problem?

Grtz
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 6 months ago #86988

  • dirkbece
  • dirkbece's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I have the same problem, Is there a solution allready to fix this. I use version 1.92+ Build 120919
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 5 months ago #87001

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Can you please attach a sample survey?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 5 months ago #87008

  • dirkbece
  • dirkbece's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
www.bcinfo.nl/index.php?sid=79446&newtest=Y&lang=nl

use code aaaa to get access

Regards,

Dirk
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 5 months ago #87011

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
I don't see these warnings. Can you be more specific or give us a shorter survey?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: html entities showing on error message 1 year 5 months ago #87015

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5840
  • Thank you received: 714
  • Karma: 222
Yep,

Warnig message aren't shown in this survey.

I supposed you have someting like that:
If you choose &quote;Other :&quote; you must provide a description.

the patch for 2.0 github.com/LimeSurvey/LimeSurvey/commit/...af44bdd62fcc96bbdcbb.

For 1.92, you have to replace string in ./classes/expression/LimeExpressionManager.php and update the mo files.

Denis
Last Edit: 1 year 5 months ago by DenisChenu.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.177 seconds
Donation Image