- Posts: 13648
- Thank you received: 2491
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?
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
7 years 5 months ago #144828
by DenisChenu
{CLEARALL_LINK} don't have an ID : then can be added where you want and X times
{CLEARALL_LINK} work everywhere out of the box if javascript is activated
{CLEARALL_LINK} don't need {CLEARALL} to work out of the box
{CLEARALL_LINK} is hidden if javascript is not activated
The 2.5X system is broken : force {CLEARALL} for {CLEARALL_LINK} is a mistake, but allow {CLEARALL_LINK} without {CLEARALL} is a (good) featrure.
This need a manual update, not anything.
Denis
PS : {CLEARALL} work out of the box without js inside form, need js outside .
PS2: same for INDEX/SAVEALL etc .....
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?
in 3.0/next version:tpartner wrote: 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.
{CLEARALL_LINK} don't have an ID : then can be added where you want and X times
{CLEARALL_LINK} work everywhere out of the box if javascript is activated
{CLEARALL_LINK} don't need {CLEARALL} to work out of the box
{CLEARALL_LINK} is hidden if javascript is not activated
The 2.5X system is broken : force {CLEARALL} for {CLEARALL_LINK} is a mistake, but allow {CLEARALL_LINK} without {CLEARALL} is a (good) featrure.
This need a manual update, not anything.
Denis
PS : {CLEARALL} work out of the box without js inside form, need js outside .
PS2: same for INDEX/SAVEALL etc .....
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 topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 5 months ago #144859
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How do I get rid of the "exit and clear survey" button?
Hi Denis! Any idea when LS 3.0 might come out with the cleaned templates? I would need to start to adapt a template for a project, but I would like to spend my time on the next version rather on 2.5.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
7 years 5 months ago #144863
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?
Don't know, not my decision.
About actual default template: easier than make a JS if CLEARALL are not present : remove CLEARALL_LINK from startpage.pstpl.
About actual default template: easier than make a JS if CLEARALL are not present : remove CLEARALL_LINK from startpage.pstpl.
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 topic has been locked.
- manasa
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
6 years 7 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: 13648
- Thank you received: 2491
6 years 7 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 7 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 7 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 7 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
- Online
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
5 years 7 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 7 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 4 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 3 months 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.