Hiding "Exit and clear survey"

Hiding "Exit and clear survey"

Overview

To conceal the "Exit and clear survey" button, use the built-in setting that controls it: in the survey editor, open Presentation in the left icon bar, go to Theme options, and switch off Show 'Clear all' button under Display options.

Fallback: Editing the Theme File

If your theme does not offer this option, you can instead remove or comment out this line in the theme's nav_bar.twig file (LimeSurvey Cloud users cannot edit theme files):

{{ include('./subviews/navigation/clearall_links.twig') }}

Use Case

This modification is particularly valuable for long surveys where organizers want respondents to save and resume later. Respondents sometimes click the "Exit and clear survey" button by mistake, which discards their partially completed response.

Related Resources

    • Related Articles

    • Allow public registration using the survey participants table

      Overview When using a survey participants table alongside public registration, LimeSurvey displays a registration prompt in which only the email field is mandatory. Making All Fields Required To also require first name and last name, you must edit ...
    • Survey Policy Agreement in LimeSurvey

      Yes, it is possible to display a survey policy that participants must agree to before starting a survey. You can insert a survey policy in the survey settings (in the classic admin interface under Settings > Data policy settings) and require the user ...
    • How can I restore data from a deactivated survey?

      We recommend that you always use the expiry option instead of deactivating a survey. If you closed your survey accidentally, it is important that you don't change anything in the survey! Then, and only then, will the following steps will work: ...
    • Where and how is my survey data hosted/stored?

      When you register with LimeSurvey and log in for the first time, you'll initiate the process of creating your survey site. Here’s a detailed walkthrough of the steps involved in setting up your survey site and choosing a server location for hosting ...
    • Help! I accidentally closed my survey - what now?

      If you closed your survey accidentally, it is important that you do not change anything in your survey.  To recover your data: Activate your survey again. Select Responses from the survey toolbar. Click Import and select the "Import answers from a ...