- Posts: 5033
- Thank you received: 1257
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Progress Bar Settings
- jelo
- Topic Author
- Offline
- Platinum Member
Less
More
11 years 5 months ago #88242
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Progress Bar Settings was created by jelo
When bridging surveys there is the existing problem to show a correct progress bar.
A few parameter would allow an easy fix.
1.) Allow setting a Start Value (%) and an End Value (%).
Not sure if the next one could can be implemented easily:
2.) Calculation routine based on a) Questions shown or b) Question position
Any ideas to add?
A few parameter would allow an easy fix.
1.) Allow setting a Start Value (%) and an End Value (%).
Not sure if the next one could can be implemented easily:
2.) Calculation routine based on a) Questions shown or b) Question position
Any ideas to add?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- emimarz
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 2
10 years 5 months ago #101952
by emimarz
Replied by emimarz on topic Progress Bar Settings
mmm... try implement your self, I do it.
You have {NUMBEROFQUESTIONS} and {QUESTION_NUMBER}
percent_value = (100/{NUMBEROFQUESTIONS})*{QUESTION_NUMBER}
isn't it?
kindest regards
Emiliano
You have {NUMBEROFQUESTIONS} and {QUESTION_NUMBER}
percent_value = (100/{NUMBEROFQUESTIONS})*{QUESTION_NUMBER}
isn't it?
kindest regards
Emiliano
The topic has been locked.
- jelo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 10 months ago #121527
by jelo
A good progressbar should be calculated based on
a) Amount of questions shown
and
b) Position of current displayed question/group inside the survey
Is the codebase ready to deliver these infos?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Progress Bar Settings
I cannot find this variable.emimarz wrote: {QUESTION_NUMBER}
A good progressbar should be calculated based on
a) Amount of questions shown
and
b) Position of current displayed question/group inside the survey
Is the codebase ready to deliver these infos?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
8 years 10 months ago - 8 years 10 months ago #121537
by Ben_V
This keyword/variable exists but useless to count displayed question if the survey use conditions... The only way is to play around the relevance status ( {Qcode.relevanceStatus} )
I attach a sample survey with (plain text) survey progress. Looks pretty hard to adapt this to get a dynamic progress bar; I've tried some months ago... and no way
Maybe easier with a 100% javascript workaround...
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Progress Bar Settings
Jelo wrote: {QUESTION_NUMBER}
I cannot find this variable.
This keyword/variable exists but useless to count displayed question if the survey use conditions... The only way is to play around the relevance status ( {Qcode.relevanceStatus} )
I attach a sample survey with (plain text) survey progress. Looks pretty hard to adapt this to get a dynamic progress bar; I've tried some months ago... and no way
Maybe easier with a 100% javascript workaround...
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Attachments:
Last edit: 8 years 10 months ago by Ben_V.
The topic has been locked.
- jelo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 10 months ago - 8 years 10 months ago #121549
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Progress Bar Settings
Thanks. I have placed a feature request.
bugs.limesurvey.org/view_all_bug_page.php
bugs.limesurvey.org/view_all_bug_page.php
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 8 years 10 months ago by jelo.
The following user(s) said Thank You: Ben_V
The topic has been locked.
- jelo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 6 months ago #142751
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Progress Bar Settings
Forget the direct link to the featurerequest:
bugs.limesurvey.org/view.php?id=9677
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- jgpestana
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
7 years 2 months ago #148500
by jgpestana
Replied by jgpestana on topic Progress Bar Settings
Dear team,
I have created a very large survey with several groups of questions (non-mandatory answers) and I would like to show to the participants a progress bar with real time information about how many questions has been answered from the total. The progress bar provided by Limesurvey only shows position on the survey and not real progress. I know there is a feature request for this function, but I would like to try a workaround. My idea is to implement a second progress bar trough the frontend, I mean only modifying the survey template. My function in javascript requires Total Number of Questions in the Survey and Total Number of Questions Answered. How can I called these variables from the template (e.g.: startpage.html).
Thanks in advance for your help.
I have created a very large survey with several groups of questions (non-mandatory answers) and I would like to show to the participants a progress bar with real time information about how many questions has been answered from the total. The progress bar provided by Limesurvey only shows position on the survey and not real progress. I know there is a feature request for this function, but I would like to try a workaround. My idea is to implement a second progress bar trough the frontend, I mean only modifying the survey template. My function in javascript requires Total Number of Questions in the Survey and Total Number of Questions Answered. How can I called these variables from the template (e.g.: startpage.html).
Thanks in advance for your help.
The topic has been locked.
- jelo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 2 months ago #148803
by jelo
Even simpler variables are not available. E.g. displaying the amount of groups on the welcome page. Only on the welcomepage! The coding is offered by a thirdparty as a pullrequest. But discussion is stucked and the code is getting old.
github.com/LimeSurvey/LimeSurvey/pull/545
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Progress Bar Settings
These variables are not exposed to the templates.jgpestana wrote: My function in javascript requires Total Number of Questions in the Survey and Total Number of Questions Answered. How can I called these variables from the template (e.g.: startpage.html).
Even simpler variables are not available. E.g. displaying the amount of groups on the welcome page. Only on the welcomepage! The coding is offered by a thirdparty as a pullrequest. But discussion is stucked and the code is getting old.
github.com/LimeSurvey/LimeSurvey/pull/545
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 1 month ago #149558
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 Settings
Merged 3h ago...
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.