Check out the LimeSurvey source code on GitHub!

Change text to "other comment mandatory error"?

More
4 years 3 weeks ago - 4 years 3 weeks ago #91872 by joe_p
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 3 weeks ago by joe_p.

Please Log in to join the conversation.

More
4 years 3 weeks ago #91874 by mwilliams
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 3 weeks ago #91895 by DenisChenu
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).

Please Log in to join the conversation.

More
4 years 3 weeks ago #91914 by joe_p
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 3 weeks ago #91930 by DenisChenu
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).

Please Log in to join the conversation.

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