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?

  • mkerr4
  • mkerr4's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months 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! 
Attachments:
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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.

manual.limesurvey.org/Translating_LimeSurvey

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

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #218189 by tpartner
Replied by tpartner on topic How to Change Input Min./Max. Pop-up Message?
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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months 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. ;-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #218221 by DenisChenu
Replied by DenisChenu on topic How to Change Input Min./Max. Pop-up Message?

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 service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose