Change text to "other comment mandatory error"?

More
4 years 4 months ago - 4 years 4 months ago #91872 by joe_p
joe_p created the topic: Change text to "other comment mandatory error"?
In the survey I have a List Radio question with an Other field, and have set the Other response to mandatory.

But the text that displays doesn't do so correctly:
Please also fill in the "other comment" field.

Where can I edit this in the source code? I tried making the change in locale\_template\limesurvey.pot since that was the only place I could find the text defined, but that doesn't change the message in the survey.

(Running Version 1.92+ Build 120919)
Last Edit: 4 years 4 months ago by joe_p.

Please Log in to join the conversation.

More
4 years 4 months ago #91874 by mwilliams
mwilliams replied the topic: Change text to "other comment mandatory error"?
Not immediately sure where the file is located but if you've already checked the locale files for English variables and their equivalent strings, try downloading all of the Limesurvey files to your local machine. You can then search for the relevant text within all of the files, so you can see all of the locations in which it appears.

Please Log in to join the conversation.

More
4 years 4 months ago #91895 by DenisChenu
DenisChenu replied the topic: Change text to "other comment mandatory error"?
It's with version 1.92 ?

There are a bug with the 1.92, you can download a fork here: gitorious.org/aksesibsurvey/aksesibsurvey/trees/LimeSurvey1.92+

ANd think in the last 1.92 GIT version it's fixed: github.com/LimeSurvey/LimeSurvey/tree/1.92

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 4 months ago #91914 by joe_p
joe_p replied the topic: Change text to "other comment mandatory error"?
Thanks for the replies. I found the text here:
classes\expressions\LimeExpressionManager.php

...with a little help from Windows Grep. It helps to have a good utility for searching for strings.

Thanks again!

Please Log in to join the conversation.

More
4 years 4 months ago #91930 by DenisChenu
DenisChenu replied the topic: Change text to "other comment mandatory error"?
The last version are corrected in GIT.

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Have you already participated in our survey?

Don't miss your chance to win our valuable prices.

Just click here to start the survey:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now