Welcome to the LimeSurvey Community Forum

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

Custom error messages

  • Pszichometria
  • Pszichometria's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 months 2 days ago #264952 by Pszichometria
Custom error messages was created by Pszichometria
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.43
Own server or LimeSurvey hosting: own server
Survey theme/template: fruit
==================
Hello All,

I really tried to look about this topic in the manual, but could not find it :(

1. I would like to change the default error messages, do not know where to do that. 
2. When a new question is created I want the the default value of Hide tip to be ON (Display menu) . There is no option in Configuration / Global survey for this. 

Thank you for your answer.

Istvan

 

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 months 1 day ago #264964 by holch
Replied by holch on topic Custom error messages

1. I would like to change the default error messages, do not know where to do that.


This would need to be changed in the language files. Basically you would "translate" the messages differently.

While you can change it in the language file for the language you are using, every update could overwrite this. So if this is something that you don't think will be accepted as a general change in the language file fo this specific language (e.g. it is specific to your case and is not the "correct" translation), then you might want to look into create "your own language" and have your own language file. You can probably copy an existing one and modify it.

Here some inspiration: www.limesurvey.org/manual/Translating_LimeSurvey

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 months 1 day ago #264971 by DenisChenu
Replied by DenisChenu on topic Custom error messages

1. I would like to change the default error messages, do not know where to do that.
 
What message? There have a bunch of error message.

Some can be done via question settings, some via theme only, and some other need more complex solution.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 months 1 day ago #264973 by tammo
Replied by tammo on topic Custom error messages

2. When a new question is created I want the the default value of Hide tip to be ON (Display menu) . There is no option in Configuration / Global survey for this. 
 


I fully agree with this one. Besides that: when you indicate: Hide tip "No" it is in fact a double negation. I think UI-wise this setting needs to change to: Show tip: Yes/No. Just because we always (in other places in the UI) formulate in a positive way.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • Pszichometria
  • Pszichometria's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 months 14 hours ago #265009 by Pszichometria
Replied by Pszichometria on topic Custom error messages
You are right. I will try to find some categorization about all the messages, possibly in a structured way in the manual or in the forum. 

If can not find, I will create a table (when I will have time) , so it may help others to understand the bunch of message options, and where to edit them. Although holch's message suggests, that most of them can be edited on a hard way. 

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 months 13 hours ago #265010 by DenisChenu
Replied by DenisChenu on topic Custom error messages

You are right. I will try to find some categorization about all the messages, possibly in a structured way in the manual or in the forum.
 
You seem to speak for Question error message, right ?
If yes : www.limesurvey.org/manual/Question_type_...on_(em_validation_q)

For example, for numeric question min value and max value, you can leave min and max value to empty, and for valiation : (self.NAOK > 0 and self.NAOK <= 10) and for the tip: "You made an error, it must be between 0 and 10"

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: Pszichometria

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose