Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Removing help text from a mandatory question

  • nadica123
  • nadica123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 1 week ago #253523 by nadica123
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)

Hello,

I have a survey that is not in English, and I have mandatory questions. I have turned off the help tip off and added my own text via the Help tab in another language that the survey is on. Although, when the mandatory question is not answered, it adds the help text in red and in English, but I don't want it to show, or if it does is there a way to add my own text on this warning text instead of the English version. Here's what I'm getting now:

If you choose 'Запишете' please also specify your choice in the accompanying text field. The part where it says 'This question is mandatory' is translated though.

Thank you.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 1 week ago #253531 by DenisChenu
Replied by DenisChenu on topic Removing help text from a mandatory question
You can edit your Survey theme
Question part : github.com/LimeSurvey/LimeSurvey/blob/ma...essage_and_help.twig

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • nadica123
  • nadica123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 1 week ago #253535 by nadica123
Replied by nadica123 on topic Removing help text from a mandatory question
Thanks for replying,

it says here:

This text is inside EM Helper, and can be changed by creating a translation file.

How should I crate this translation file and where should it be placed?

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 1 week ago #253548 by DenisChenu
Replied by DenisChenu on topic Removing help text from a mandatory question
Don't look at comment,
You want to remove this sentence : just remove the line {{ aQuestion.man_message        | raw }}

But more : sentence is false : you can replace it using a file in your theme (but only via FTP access)

./survey/questions/question_help/mandatory_tip.twig

github.com/LimeSurvey/LimeSurvey/blob/ma...p/mandatory_tip.twig

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose