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?

  • degeus
  • degeus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #65917 by degeus
Hi,

I would like to discard the "exit and clear" button from my survey. How do I do this?

Kind greetings, Sjanett
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 5 months ago #65919 by tpartner
Remove the {CLEARALL} placeholder - probably found in navigator.pstpl.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: kateibe
The topic has been locked.
  • degeus
  • degeus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #66314 by degeus
Hi, could you elaborate a little bit further on this?
were and how do I change this?
The topic has been locked.
  • machaven
  • machaven's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 5 months ago #66320 by machaven
Hi Sjanett,

Go into the template editor and make a copy of the template you are using if it is a default one (so u can edit it). Then select the copy to edit and select the navigator.pstpl file on the standard files list. Then remove the {CLEARALL} text in the editor, then save. You will then need to change your survey to use the copy of the template you changed under your survey general settings.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 5 months ago #66355 by Mazi
More information on templates is availalbe at docs.limesurvey.org/The+template+editor&...tions+for+LimeSurvey

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
7 years 3 months ago #144786 by Zirys
This deletes the functionality of the button, but it still keeps the button visible for participants.

Is there a way to make the words "Exit and clear survey" also invisble to participants instead of just disabling its functionality?
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
7 years 3 months ago #144787 by ollehar
If the button is still visible after you changed the template, you might have done something wrong. Are you using the correct template?
The topic has been locked.
More
7 years 3 months ago #144790 by Zirys
Yes. I know I use the correct template because the functionality of the button disappears as soon as I delete {CLEARALL} from navigator.pstpl
Is there something else I need to remover, or do I need to remove {CLEARALL} somewhere else maybe?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #144791 by tpartner
Assuming you are using version 2.5x with one of the shipped templates, you can add this to the end of template.css:

Code:
#clearallbtnlink {
  display: none;
}

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
7 years 3 months ago #144792 by Zirys
Thank you very much. Indeed I was using the "default" template and your solution worked.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #144793 by tpartner
You're welcome.

In my opinion, the #clearallbtnlink element should not be rendered if the {CLEARALL} placeholder is not used. Please file a bug report.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 3 months ago #144801 by tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: tpartner
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose