Welcome to the LimeSurvey Community Forum

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

Suppressing warning message about integer value

  • aukevann
  • aukevann's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 weeks 6 days ago #270562 by aukevann
Please help us help you and fill where relevant:
LimeSurvey version: 6.14
Own server or LimeSurvey Cloud: own server
Survey theme/template: own
==================
I just upgrade to version 6.14. Now I get the warning with each question "Only integer values may be entered in these fields.". As there are other warnings too, I like to suppress this message while keeping the configuration that only integers can be entered. Is there a way to do this in my template?

Kind regards,
Auke

Please Log in to join the conversation.

More
3 weeks 6 days ago #270564 by jelo

I just upgrade to version 6.14.
 
If I get you right, all your surveys didn't show these warnings in the previous version you used.
From what version did you upgrade?
You wrote "with each question" which sounds a bit strange. Do you only use one kind of question type? Or did you mean that on every question which asks for integer values you get this warning?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • aukevann
  • aukevann's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 weeks 6 days ago #270569 by aukevann
Thanks for your reply.
I upgraded from version 3.
On every questions that requires an integer answer, I get this message. It is confusing for the users, and should only appear when they enter non-integer numbers. But I will settle on not having the message appear at all.

Please Log in to join the conversation.

  • aukevann
  • aukevann's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 weeks 6 days ago #270570 by aukevann
As i have 500+ surveys online, each with 20+ questions, I like to solve this in the template rather than adjust the questions.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 6 days ago #270573 by tpartner

It is confusing for the users, and should only appear when they enter non-integer numbers.

Try this in the custom.css file:
Code:
.numeric-multi .ls-question-message.em_value_integer.ls-em-success, 
.numeric .ls-question-message.em_value_integer.ls-em-success {
  display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • aukevann
  • aukevann's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 weeks 6 days ago #270574 by aukevann
Thanks much Tony, that works!

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose