Check out the LimeSurvey source code on GitHub!

html entities showing on error message

More
4 years 5 months ago #84862 by chinaski01
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.

Please Log in to join the conversation.

More
4 years 5 months ago #85037 by tpartner
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.

Please Log in to join the conversation.

More
4 years 5 months ago #85053 by chinaski01
I'm at the latest release according to the update checker, Version 1.92+ Build 120822.

Please Log in to join the conversation.

More
4 years 5 months ago #85174 by chinaski01
Still seeing this behaviour. Any ideas?

Please Log in to join the conversation.

More
4 years 4 months ago #86171 by LemonWrangler
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

Please Log in to join the conversation.

More
4 years 4 months ago #86988 by dirkbece
I have the same problem, Is there a solution allready to fix this. I use version 1.92+ Build 120919

Please Log in to join the conversation.

More
4 years 4 months ago #87001 by tpartner
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.

Please Log in to join the conversation.

More
4 years 4 months ago #87008 by dirkbece
www.bcinfo.nl/index.php?sid=79446&newtest=Y&lang=nl

use code aaaa to get access

Regards,

Dirk

Please Log in to join the conversation.

More
4 years 4 months ago #87011 by tpartner
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.

Please Log in to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #87015 by DenisChenu
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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 4 years 4 months ago by DenisChenu.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form