- Posts: 4
- Thank you received: 0
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?
- manasa
- Offline
- New Member
Less
More
6 years 5 months ago #158989
by manasa
Replied by manasa on topic How do I get rid of the "exit and clear survey" button?
Hi Tony,
I am using 2.67.3+170728 version and removing the {CLEARALL} text in the editor and adding the above code to the template.css did not work. I notice that the button is disabled but it is still visible. Can you help me with hiding or removing this button?
Thanks,
Manasa
I am using 2.67.3+170728 version and removing the {CLEARALL} text in the editor and adding the above code to the template.css did not work. I notice that the button is disabled but it is still visible. Can you help me with hiding or removing this button?
Thanks,
Manasa
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
6 years 5 months ago #158992
by DenisChenu
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.
Replied by DenisChenu on topic How do I get rid of the "exit and clear survey" button?
Look at startpage CLEARALL_LINK if i remind.
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 following user(s) said Thank You: manasa
The topic has been locked.
- manasa
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
6 years 5 months ago #158994
by manasa
Replied by manasa on topic How do I get rid of the "exit and clear survey" button?
That worked! Thanks.
The topic has been locked.
- amitsharma
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
6 years 5 months ago #158999
by amitsharma
My Name is Amit Sharma. I love to reading AndWriting Stories. I have two young children ashu and Manu. Some people also called me as the Love Marriage Specialist.
Replied by amitsharma on topic How do I get rid of the "exit and clear survey" button?
Thanks for this information. It's work out
My Name is Amit Sharma. I love to reading AndWriting Stories. I have two young children ashu and Manu. Some people also called me as the Love Marriage Specialist.
The topic has been locked.
- purchased
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
5 years 6 months ago #173349
by purchased
Replied by purchased on topic How do I get rid of the "exit and clear survey" button?
Does anyone know how to do this with a 3.x theme?
I tried the following without success:
In custom.css I added...
.clearall {
display: none;
}
which didn't work. I also tried...
#clearallbtnlink {
display: none;
}
and
.clearallbtnlink {
display: none;
}
without success.
Finally, on the Welcome screen in nav_bar.twig I tried to comment out:
{{ include('./subviews/navigation/clearall_links.twig') }}
But that only shifted the "Exit and clear survey" over a few spaces.
Does anyone have a suggestion?
I tried the following without success:
In custom.css I added...
.clearall {
display: none;
}
which didn't work. I also tried...
#clearallbtnlink {
display: none;
}
and
.clearallbtnlink {
display: none;
}
without success.
Finally, on the Welcome screen in nav_bar.twig I tried to comment out:
{{ include('./subviews/navigation/clearall_links.twig') }}
But that only shifted the "Exit and clear survey" over a few spaces.
Does anyone have a suggestion?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
5 years 6 months ago #173350
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How do I get rid of the "exit and clear survey" button?
Hi,
in 3.14.5.
I also commented out in nav-bar.twig
and both are gone.
Did you comment out correctly "curly bracket + hashtag"?
Joffm
in 3.14.5.
I also commented out in nav-bar.twig
Code:
{# {{ include('./subviews/navigation/save_links.twig') }} {{ include('./subviews/navigation/clearall_links.twig') }} #}
Did you comment out correctly "curly bracket + hashtag"?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: medhat, markusd1984
The topic has been locked.
- purchased
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
5 years 6 months ago #173356
by purchased
Replied by purchased on topic How do I get rid of the "exit and clear survey" button?
Ah, thank you. Works perfect! I was not using the correct way of commenting out and was attempted to remove the "clearall" row.
The following user(s) said Thank You: tpartner
The topic has been locked.
- aduer1
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
5 years 3 months ago #177751
by aduer1
Replied by aduer1 on topic How do I get rid of the "exit and clear survey" button?
I'm trying to do the same thing, but using LimeSurvey version 3.5.4+180320 and the bootswatch theme, I do not find nav-bar.twig in the template editor (selecting either the Question or the Welcome screen). For the Welcome screen, I only have the following twigs:
layout_global.twig
mainrow.twig
outerframe.twig
firstpage.twig
welcome.twig
warnings.twig
no_js_alert.twig
privacy.twig
I searched for clearall in all these files, but could not find it. Can anyone give me a hint how I can get then rid of the "exit and clear survey" link? Many thanks in advance.
layout_global.twig
mainrow.twig
outerframe.twig
firstpage.twig
welcome.twig
warnings.twig
no_js_alert.twig
privacy.twig
I searched for clearall in all these files, but could not find it. Can anyone give me a hint how I can get then rid of the "exit and clear survey" link? Many thanks in advance.
The topic has been locked.
- anilchopracmr
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
4 years 1 month ago #192923
by anilchopracmr
Replied by anilchopracmr on topic How do I get rid of the "exit and clear survey" button?
Hi,
The above process gets rid of the exit and clear survey button altogether. But what if I only want to remove it from the Welcome page of a survey? After all, when a person actually starts to participate, then there are no answers to clear.
The above process gets rid of the exit and clear survey button altogether. But what if I only want to remove it from the Welcome page of a survey? After all, when a person actually starts to participate, then there are no answers to clear.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10612
- Thank you received: 3691
4 years 1 month ago #192927
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How do I get rid of the "exit and clear survey" button?
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.
- anilchopracmr
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
4 years 1 month ago #192936
by anilchopracmr
Replied by anilchopracmr on topic How do I get rid of the "exit and clear survey" button?
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?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
4 years 1 month ago #192937
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How do I get rid of the "exit and clear survey" button?
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:
Joffm
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; }<
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.