Welcome to the LimeSurvey Community Forum

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

How do I get rid of the "exit and clear survey" button?

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #192927 by tpartner
Extend your theme, edit welcome.twig, adding this at the end:

Code:
<style type="text/css">
  .ls-link-clearall {
    display: none !important;
  }
</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.
More
4 years 1 month ago #192936 by anilchopracmr
Hi,
I'm using Limesurvey 2.5, so I couldn't find the welcome.twig file anywhere. I could only find welcome.pstpl in the template editor. I anyways added the code you mentioned at the end of that file, but it didn't work:-(

Can you please help me?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #192937 by Joffm
What exactly is 2.5?

Is it one of the version of the 2.50/2.73 branch?
Or 2.05/2.06/2.6.x?

In older versions the id was different.
It was
#clearallbtnlink instead of .ls-link-clearall.

So:
Code:
#clearallbtnlink {
  display: none;
}<
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
4 years 1 month ago #192938 by anilchopracmr
hi, the exact version is Version 2.73.0+171219. Sorry my bad.It's not 2.5.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #192942 by Joffm
add it to welcome.pstpl

Code:
<style type="text/css">
  #clearallbtnlink {
    display: none !important;
  }
</style>

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose