Welcome to the LimeSurvey Community Forum

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

HOw to remove the Progress bar at the end when message shows thank you

  • webdeveloper
  • webdeveloper's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #165128 by webdeveloper
How to remove the Progress bar at the end when the survey is submiited and a screen is displayed End Message.

In new limesurevy at the end progress bar is showing with 0%. I don't want to display the progress bar at the end.

Please help.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago - 6 years 1 month ago #165160 by tpartner
That seems to be a bug to me. Please report it and give a link to the bug report here.

In the meantime, you can fix it with a custom theme.

1) Extend one of the core themes as described here - manual.limesurvey.org/New_Template_System_in_LS3.x

2) Copy the file /themes/survey/vanilla/views/subviews/header/progress_bar.twig to /upload/themes/survey/yourThemeName/views/subviews/header/.

3) In /upload/themes/survey/yourThemeName/views/subviews/header/progress_bar.twig, find this:
Code:
{% if aSurveyInfo.format != 'A' and aSurveyInfo.showprogress is defined and aSurveyInfo.showprogress == 'Y' %}
and change it to this:
Code:
{% if aSurveyInfo.format != 'A' and aSurveyInfo.showprogress is defined and aSurveyInfo.showprogress == 'Y' and 'submit' in aSurveyInfo.include_content != 1 %}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 1 month ago by tpartner.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose