Progress Bar Settings

Mehr
5 Jahre 1 Woche her #88242 von jelo
jelo erstellte das Thema Progress Bar Settings
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?

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 11 Monate her #101952 von emimarz
emimarz antwortete auf das Thema: 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

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
2 Jahre 5 Monate her #121527 von jelo
jelo antwortete auf das Thema: Progress Bar Settings

emimarz schrieb: {QUESTION_NUMBER}

I cannot find this variable.

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?

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
2 Jahre 5 Monate her - 2 Jahre 5 Monate her #121537 von Ben_V
Ben_V antwortete auf das Thema: Progress Bar Settings

Jelo schrieb: {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...

Dateianhang:

Dateiname: limesurvey...1234.lss
Dateigröße:23 KB

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)
Anhang:
Letzte Änderung: 2 Jahre 5 Monate her von Ben_V.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
2 Jahre 5 Monate her - 2 Jahre 5 Monate her #121549 von jelo
Letzte Änderung: 2 Jahre 5 Monate her von jelo.
Folgende Benutzer bedankten sich: Ben_V

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
1 Jahr 1 Monat her #142751 von jelo
jelo antwortete auf das Thema: Progress Bar Settings
Forget the direct link to the featurerequest: bugs.limesurvey.org/view.php?id=9677

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
9 Monate 2 Wochen her #148500 von jgpestana
jgpestana antwortete auf das Thema: 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.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
9 Monate 6 Tage her #148803 von jelo
jelo antwortete auf das Thema: Progress Bar Settings

jgpestana schrieb: 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).

These variables are not exposed to the templates.

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

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
8 Monate 3 Wochen her #149558 von holch
holch antwortete auf das Thema: Progress Bar Settings
Merged 3h ago...

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha