Count No of Questions Remaining

Mehr
2 Monate 1 Woche her #172182 von diadora
diadora erstellte das Thema Count No of Questions Remaining
Hello,

I don't know if I'm asking something pretty straightforward, but I would like to count the questions in a particular question group (so not all the questions) and advise this to the user before they move to the next page.

This is because that there are some combinations of answers which could give zero questions, and I would like to be able to inform the user how many questions are in the next group before they click 'next' and then are surprised to see there are no questions.

I'm aware that with the assessments there is a total question count - but is there anyway to count the questions in the question group and display this to the user as the click on the other answers?

Thanks for your help!
CB

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172186 von tpartner
tpartner antwortete auf das Thema: Count No of Questions Remaining
You cold use Expression Manager to tailor a text-display question depending on how questions are answered.

- manual.limesurvey.org/Expression_Manager...swers.2C_and_Reports

I'm a bit stuck on "...surprised to see there are no questions". That should never happen.

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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172192 von Joffm
Joffm antwortete auf das Thema: Count No of Questions Remaining
Hi,
as Tony said:

they click 'next' and then are surprised to see there are no questions.

should not happen.
Then you did not set the correct relevance equation on the group. Of course the group is only displayed if there are questions.

BUT: How are you going to manage the following:
The group contains of 5 questions; two are only asked if - let's say - the first question is answered "Yes".
How can you know before how many questions have really to be answered?

Just to consider
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172202 von diadora
diadora antwortete auf das Thema: Count No of Questions Remaining
Thanks Tony & Joffm for your responses.

I'm expecting to use Expression Manager to calculate this number .. however I'm unaware of the variable names linked to the question count in order to build the calculation (is there a list somewhere?).

While it is 'bad etiquette' I'm not worried on this occasion if there are no questions in the next group .. however I do admit it would be better to give some kind of message. I believe I could do this by inserting a 'text display' question which contains a message .. but again (without repeating all the original conditions .. which is not so easy) I don't know how to count the questions.

Had I just added these questions to the main list in the first group. then as the answers are selected they would dynamically disappear .. however the unfiltered list to start with is pretty long and hence I'd rather put this on a new page.

For your comment Joffm, once the enter the next question group there are no more conditions imposed once these questions are answered.

I hope my answers were clear enough for you!

Thanks, CB

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172209 von jelo
jelo antwortete auf das Thema: Count No of Questions Remaining

diadora schrieb: I'm expecting to use Expression Manager to calculate this number .. however I'm unaware of the variable names linked to the question count in order to build the calculation (is there a list somewhere?).

I'm not aware that LS is providing such infos. Perhaps such variables can be exposed.

Would help calculating a progressbar based on questions shown or current question position in the survey.
bugs.limesurvey.org/view.php?id=9677

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172210 von tpartner
tpartner antwortete auf das Thema: Count No of Questions Remaining
You will need to recreate the question hide/show logic in your Expression Manager tailoring.

Regarding the empty group, you should be able to place group-level relevance so the group is also hidden if all questions are hidden.

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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172216 von Joffm
Joffm antwortete auf das Thema: Count No of Questions Remaining

You will need to recreate the question hide/show logic in your Expression Manager tailoring.


To give you an example:
In Group G2 questions have the following relevance equations:
Q2a (Q1a==1)
Q2b (Q1a==2)
Q2c1 (Q1b_SQ001=="Y")
Q2c2 (Q1b_SQ002=="Y")
Q2c3 (Q1b_SQ003=="Y")
Q2c4 (Q1b_SQ004=="Y")
Q2d (Q1c>40)
Q2e (always)

So the are 7 questions in Group G2:
You can calculate the number of really shown questions by summing up.
If a condition is true, "1" is added, if the condition is wrong, "0" is added.

{sum(if(Q1a==1,1,0),if(Q1a==2,1,0),if(Q1b_SQ001=="Y",1,0),if(Q1b_SQ002=="Y",1,0),if(Q1b_SQ003=="Y",1,0),if(Q1b_SQ004=="Y",1,0),if(Q1c>40,1,0),1)}

To get a more realistic example you should provide your survey, or a part of it. (*.lss)

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Folgende Benutzer bedankten sich: tpartner

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 1 Woche her #172224 von diadora
diadora antwortete auf das Thema: Count No of Questions Remaining
OK, I follow what you say here - I think with this I can work something out .. thanks again for your help!
CB

Bitte Anmelden oder Registrieren 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