Welcome to the LimeSurvey Community Forum

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

Progress Bar

  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198180 by KhemrajC
Progress Bar was created by KhemrajC
Hi,

I noticed that the embedded progress bar is erratic and does not remain align with conditional branching.

I applied this TPartner code to all my groups and the embedded progress bar is not being overridden.

However, the code works on a dummy project.

<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function() {
$('.progress-bar').css({
'width': '10%'
}).text('10%');
});
</script>

Any idea?

Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198185 by tpartner
Replied by tpartner on topic Progress Bar
This code does work in version 3.22.13 with all core themes.

Something in your theme may be generating a JavaScript error.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198189 by KhemrajC
Replied by KhemrajC on topic Progress Bar
Hi,

Using the same Backy theme, it was ok on a dummy project.

But not working on my master questionnaire!!!

The best thing would be to switch off the progress bar though it is worth indicating progress over a questionnaire.

Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198230 by tpartner
Replied by tpartner on topic Progress Bar
Are there any Javascript errors indicated in the console?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198261 by KhemrajC
Replied by KhemrajC on topic Progress Bar
Hi,

This is the console for the first two display pages:

Description and Welcome Page

JQMIGRATE: Migrate is installed, version 3.1.0
extension.js:24 onMessage extension
ial.js:425 Clean the cache of the scraper (new onComplete event)
DevTools failed to load SourceMap: Could not load content for covid19.my-survey.host/tmp/assets/cad77728/pjax.js.map : HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for covid19.my-survey.host/tmp/assets/2803b1...ootstrap.min.css.map : HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

First Group Question (Additional messages only)


893788:1 A cookie associated with a cross-site resource at youtube.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at www.chromestatus.com/feature/5088147346030592 and www.chromestatus.com/feature/5633521622188032 .
extension.js:24 onMessage extension


Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198278 by tpartner
Replied by tpartner on topic Progress Bar
Can you give a link to the survey?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198291 by KhemrajC
Replied by KhemrajC on topic Progress Bar
Hi,

Pls check your mail.

Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago - 3 years 11 months ago #198293 by tpartner
Replied by tpartner on topic Progress Bar
I only check mail for paid support.

What I do here is on a volunteer basis.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 11 months ago by tpartner.
The topic has been locked.
  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198294 by KhemrajC
Replied by KhemrajC on topic Progress Bar
Hi,

That is fair enough.

You already helped a lot.

Quite sensitive to share this LSS at this stage.

You may still email me your tariff.

Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198324 by tpartner
Replied by tpartner on topic Progress Bar
I did not ask for a .lss file, that would not help here.

I asked for a link to a survey so we might see what is affecting the progress bar.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • KhemrajC
  • KhemrajC's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198329 by KhemrajC
Replied by KhemrajC on topic Progress Bar
Hi,

Since the link is not yet public, I may privately share it with you.

Please let me know how.

Thanks and regards
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198361 by tpartner
Replied by tpartner on topic Progress Bar
I don't see that code anywhere in the source of the first two question pages. Where did you insert it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose