Welcome to the LimeSurvey Community Forum

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

How to Change Input Min./Max. Pop-up Message?

More
4 years 1 month ago #218184 by mkerr4
Hello!

I am working on a survey that has two questions with a minimum and maximum integer value. I need to customize the pop-up message (see attachment), and wanted to know how to do so (and whether it will be JavaScript or CSS)?

Thank you in advance! 
The topic has been locked.
More
4 years 1 month ago #218188 by holch
This is part of the language files:

translate.limesurvey.org/projects/limesu...y&sort%5Bhow%5D=desc

So basically you will need to "translate" it.

You'll need to adapt the language files.

www.limesurvey.org/manual/Translating_LimeSurvey

You might be able to modify the text via Javascript, but I don't know how.

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.
The topic has been locked.
More
4 years 1 month ago #218189 by tpartner
As far as I know, JavaScript won't work for this.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 1 month ago #218190 by holch

As far as I know, JavaScript won't work for this.


Well, then I am pretty sure if it won't work with Javascript. ;-)

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.
The topic has been locked.
More
4 years 1 month ago #218221 by DenisChenu

As far as I know, JavaScript won't work for this.
 
 Maybe with some twig :https://github.com/LimeSurvey/LimeSurvey/blob/d3439ef03bec275560caed463697451db2f0fb29/themes/survey/vanilla/views/subviews/messages/bootstrap_alert_modal.twig#L26

 

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 topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose