Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Setting "Yes" as the default option in "Hide the tip"

Setting "Yes" as the default option in "Hide the tip" 2 years 2 months ago #110874

  • angol2
  • angol2's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
Hello,

I prefer not to use the default tips to questions. Usually the only reason why I enter "advanced options" in the question design is to manually change the default option of "Hide the tip" to "Yes". I wonder it there is any way to set "Yes" as the default. I'd appreciate your comments.

Best regards,
Andrzej
The administrator has disabled public write access.

Setting "Yes" as the default option in "Hide the tip" 2 years 2 months ago #110881

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1826
  • Thank you received: 449
  • Karma: 111
Hi,
en /application/controllers/admin/question.php
search the line (around 760) with:

$eqrow = '';

and replace with:

$eqrow = 'Y';

Not tested, but, I hope it works. Remember that this change can be overwritten during major updates.
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

Setting "Yes" as the default option in "Hide the tip" 2 years 2 months ago #110891

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6323
  • Thank you received: 1407
  • Karma: 547
Or simply hide that element in template.css.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.191 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form