Welcome, Guest
Username: Password: Remember me

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

Change text to "other comment mandatory error"? 1 year 8 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: 1 year 8 months ago by joe_p.
The administrator has disabled public write access.

Re: Change text to "other comment mandatory error"? 1 year 8 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.

Re: Change text to "other comment mandatory error"? 1 year 8 months ago #91895

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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
The administrator has disabled public write access.

Re: Change text to "other comment mandatory error"? 1 year 8 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.

Re: Change text to "other comment mandatory error"? 1 year 8 months ago #91930

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
The last version are corrected in GIT.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.109 seconds
Donation Image