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

Plus d'informations
il y a 2 ans 6 mois #158989 par manasa
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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 6 mois #158992 par DenisChenu
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 .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: manasa

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 6 mois #158994 par manasa
That worked! Thanks.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 6 mois #158999 par amitsharma
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 7 mois #173349 par purchased
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?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 7 mois #173350 par Joffm
Hi,
in 3.14.5.
I also commented out in nav-bar.twig
{#      
            {{ include('./subviews/navigation/save_links.twig') }}
            {{ include('./subviews/navigation/clearall_links.twig') }}
#}
and both are gone.

Did you comment out correctly "curly bracket + hashtag"?

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Les utilisateur(s) suivant ont remercié: medhat, markusd1984

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 7 mois #173356 par purchased
Ah, thank you. Works perfect! I was not using the correct way of commenting out and was attempted to remove the "clearall" row.
Les utilisateur(s) suivant ont remercié: tpartner

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #177751 par aduer1
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192923 par anilchopracmr
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192927 par tpartner
Extend your theme, edit welcome.twig, adding this at the end:

<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.
Official LimeSurvey Partner - partnersurveys.com

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192936 par 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?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192937 par 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:
#clearallbtnlink {
	display: none;
}<
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192938 par anilchopracmr
hi, the exact version is Version 2.73.0+171219. Sorry my bad.It's not 2.5.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 2 semaines #192942 par Joffm
add it to welcome.pstpl

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

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!