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 1 week 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 1 week ago #110881

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
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 1 week ago #110891

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6111
  • Thank you received: 1356
  • Karma: 532
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.
Moderators: ITEd
Time to create page: 0.258 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form