Welcome, Guest
Username: Password: Remember me

TOPIC: progress bar at the end of survey

progress bar at the end of survey 3 years 6 months ago #59465

  • darksigns
  • darksigns's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi,
I use Version 1.90+ Build 9642 and would like to show a 100% progressbar at the end of a survey above the thank you text. I tried to copy
<tr>
<td class="graph">{PERCENTCOMPLETE}
</td>
</tr>

into completed.pstpl but it doesn't show the bar at that page.than I tried simply copy the fuction there :
<script type="text/javascript">
$(function() {
$("#progressbar").progressbar({
value: 0
});
});
</script>

but it doesn't work
Can somebody give me a way to show it?
thx
Last Edit: 3 years 6 months ago by darksigns.
The administrator has disabled public write access.

Re: progress bar at the end of survey 3 years 6 months ago #59479

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4271
  • Thank you received: 806
  • Karma: 369
The {PERCENTCOMPLETE} placeholder is not available in the end page. Try pasting in the complete HTML for the progress bar:
<td class="graph">
 
	<div id="progress-wrapper">
		<div id="progress-pre">0%</div>
		<div id="progressbar" class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="33">
			<div class="ui-progressbar-value ui-widget-header ui-corner-left" style="width: 100%;"></div>
		</div>
		<div id="progress-post">100%</div>
	</div>
 
</td>
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: darksigns

Re: progress bar at the end of survey 3 years 6 months ago #59480

  • darksigns
  • darksigns's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
THANK YOU !!

IT WORKS GREAT!!
:woohoo:
The administrator has disabled public write access.

Re: progress bar at the end of survey 3 years 5 months ago #59966

  • shahzero
  • shahzero's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Helo.

May I know which file I need to replace?
The administrator has disabled public write access.

Re: progress bar at the end of survey 3 years 5 months ago #59969

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4271
  • Thank you received: 806
  • Karma: 369
May I know which file I need to replace?
See the documentation - docs.limesurvey.org/The+template+editor&...urvey#Template_Files
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: progress bar at the end of survey 3 years 5 months ago #59981

  • shahzero
  • shahzero's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Thank you. Its work :laugh:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.113 seconds
Donation Image