- Posts: 185
- Thank you received: 11
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Progress bar pecentage inaccurate if groups present.
- bulgin
- Topic Author
- Offline
- Elite Member
Less
More
5 years 4 months ago #178413
by bulgin
Progress bar pecentage inaccurate if groups present. was created by bulgin
I have a single group with 1 question to verify something about the survey-taker (and thus contains logic to disqualify them out early).
Then all the other questions are in another group.
The progress bar stays at 50% the entire time because, it would seem, it considers 1 group of 2 completed as 50% even though 98% of the questions are in the second group.
To the survey taker that makes no sense. . . is there a way to distribute the survey progress based on total answers rather than total groups?
Then all the other questions are in another group.
The progress bar stays at 50% the entire time because, it would seem, it considers 1 group of 2 completed as 50% even though 98% of the questions are in the second group.
To the survey taker that makes no sense. . . is there a way to distribute the survey progress based on total answers rather than total groups?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 4 months ago #178416
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Progress bar pecentage inaccurate if groups present.
How is your display? Group by group or question by question?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
5 years 4 months ago #178464
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Progress bar pecentage inaccurate if groups present.
You can manually adjust the progress bar value by inserting a script like this in the source of a question or the group description:
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function() { $('.progress-bar').css({ 'width': '10%' }).text('10%'); }); </script>
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- bulgin
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 185
- Thank you received: 11
5 years 4 months ago - 5 years 4 months ago #178495
by bulgin
Replied by bulgin on topic Progress bar pecentage inaccurate if groups present.
Hello All,
Yes arranged group by group. Using the latest version of LimeSurvey 3.15.5 .
Okay, I see, need to put it in the "source" link within the question editor. That works fine, but only if going question by question, which perhaps I can live with.
Prefer to have all the questions at once but in that case, the progress bar disappears anyway from the top of the screen as the participant scrolls down, so I have to choose between letting them see all the questions up front, or having an accurate portrayal of the progress bar but also question by question.
Oh, the decisions!
Yes arranged group by group. Using the latest version of LimeSurvey 3.15.5 .
Okay, I see, need to put it in the "source" link within the question editor. That works fine, but only if going question by question, which perhaps I can live with.
Prefer to have all the questions at once but in that case, the progress bar disappears anyway from the top of the screen as the participant scrolls down, so I have to choose between letting them see all the questions up front, or having an accurate portrayal of the progress bar but also question by question.
Oh, the decisions!
Last edit: 5 years 4 months ago by bulgin.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 4 months ago #178529
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Progress bar pecentage inaccurate if groups present.
In the mode all in one a progress bar doesn't make sense. Because you are on the first (and only page), so it is either 0% completed or 100% completed, depending on how you see it. Afaik the progress bar is based on the "pages progressed", not on the "questions answered".
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.