Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

remove the "Finish and delete answers"

More
2 years 8 months ago #202558 by AdamPolaco
Hello
How to remove the "Finish and delete answers" option from surveys from the top right corner The survey must be anonymous??
The topic has been locked.
More
2 years 8 months ago #202561 by Joffm
Hi,
In the "nav_bar.twig" you find this section
Code:
<div id="{{ aSurveyInfo.id.navbar }}" class="{{ aSurveyInfo.class.navbarcollapse }}" {{ aSurveyInfo.attr.navbarcollapse }} >
        <ul class="{{ aSurveyInfo.class.navbarlink }} navbar-right" {{ aSurveyInfo.attr.navbarlink }}>
            {{ include('./subviews/navigation/save_links.twig') }}
            {{ include('./subviews/navigation/clearall_links.twig') }}
            {{ include('./subviews/navigation/question_index_menu.twig') }}
            {{ include('./subviews/navigation/language_changer_top_menu.twig') }}
        </ul>
    </div>

Here you may remove - or better - comment out the not desired links.

I do not know what you mean by "must be anonymous?"
In each type of survey (open, closed anonymous, closed not anonymous) it's the same:
Without this link a respondent who decides to finish the survey (because it is too long, to boring, ...) will close the browser window. But his answers up to this time remain in the answer table.
With the link he may finish and remove his given answers. In my opinion a cleaner solution.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose