Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Change text to "other comment mandatory error"?

Change text to "other comment mandatory error"? 3 years 10 months ago #91872

  • joe_p
  • joe_p's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 0
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: 3 years 10 months ago by joe_p.
The administrator has disabled public write access.

Change text to "other comment mandatory error"? 3 years 10 months ago #91874

  • mwilliams
  • mwilliams's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 16
  • Karma: 0
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.
The administrator has disabled public write access.

Change text to "other comment mandatory error"? 3 years 10 months ago #91895

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

Change text to "other comment mandatory error"? 3 years 10 months ago #91914

  • joe_p
  • joe_p's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 0
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!
The administrator has disabled public write access.

Change text to "other comment mandatory error"? 3 years 10 months ago #91930

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.
Time to create page: 0.210 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form