Welcome to the LimeSurvey Community Forum

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

Date warning

  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188216 by sbcha28
Date warning was created by sbcha28
Is there a way to get the "warning" that pops up when I restrict the date to not show up at all? It's great that Limesurvey made it easy to restrict the dates (for this example, I just put in "tomorrow" as the upper limit for the date) but I cannot get this warning to not show up, no matter what date is actually selected, and it is causing confusion among our respondents.

Appreciate any guidance anyone can provide.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #188222 by tpartner
Replied by tpartner on topic Date warning
Question setting "Hide tip".


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188223 by sbcha28
Replied by sbcha28 on topic Date warning
Thanks for your reply Tony. The Hide Tip function is already turned "on" and the warning still pops up. It doesn't show until after a date has been selected and shows up no matter what date is selected. Any additional insights you have are appreciated.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #188224 by tpartner
Replied by tpartner on topic Date warning
Hmm...that may be a bug - please file a bug report.

As a hack for now, you can place this in the source of the question text:

Code:
<style type="text/css">
 
  #question{QID}.input-error .question-valid-container {
    display: none;
  }
 
  #question{QID}.input-error input {
    border: 1px solid #CCC;
  }
</style>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188226 by sbcha28
Replied by sbcha28 on topic Date warning
Thanks so much for the hack, that worked! Will also work on submitting a bug report. Appreciate your help.
The topic has been locked.
More
4 years 6 months ago #188232 by jelo
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #188235 by tpartner
Replied by tpartner on topic Date warning
Thanks jelo.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #188239 by DenisChenu
Replied by DenisChenu on topic Date warning
Seems there are 2 issue


1. Show the tip even if hidden : it's more a strange LimeSurvey core choice : js done in template-core .
2. The date seems on error even if it's OK … @sbcha28 : please : a lss is really more simple for fixing issue :) (still great thanks for bug report)

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