Show only one question to participant

More
4 years 11 months ago - 4 years 11 months ago #87093 by Fred01
Fred01 created the topic: Show only one question to participant
Can you display just a single question to the participant when a survey is set for group-by-group mode?

I know you can send a participant right to a specific survey group using the URL: index.php?sid=252749&gid=59

But when I try to use the question id... index.php?sid=252749&qid=755
It still displays the whole group and the participant needs to scroll to the right question.

The use case for me is when we are doing validation checks on submissions and want a participant to check and change a specific question response.
Last Edit: 4 years 11 months ago by Fred01. Reason: correct error

Please Log in to join the conversation.

More
4 years 11 months ago #87365 by Fred01
Fred01 replied the topic: Show only one question to participant
As Pink Floyd said, "Is there anybody out there?" :)

Please Log in to join the conversation.

More
4 years 10 months ago #87823 by Fred01
Fred01 replied the topic: Show only one question to participant
Actually, it doesn't appear that you can drop a participant into a specific question even when the survey is set for question-by-question mode.

My scenario is: tokens enabled, token persistence, non-anonymous, allow editing after completion.

After submission, this URL takes the participant back to the beginning rather than to the specific question.
limesurvey/index.php?sid=272549&gid=39&qid=606&lang=en&token=kaxrbgmukteasc8

Is this normal? Are there any workarounds?

Please Log in to join the conversation.

More
4 years 10 months ago #87824 by Mazi
Mazi replied the topic: Show only one question to participant
This isn't possible for technical reasons: When going to a certain section of a HTML page directly, you need special tags on the page, e. g. if you want to go to question #10 in a certain page in group by group mode, the link would need to look like this:

...index.php?sid=252749&gid=59#question10

This isn't implemented yet. You can add this as an idea at our idea tracker. Depending on the effort to implement this, we might make this a Google Code in task, but my first guess is that it is too complicated.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago #87825 by c_schmitz
c_schmitz replied the topic: Show only one question to participant
Hello Fred,

Mazi's idea is generally already possible.
Assuming that your question codes are unique in general you could insert the following
line in the beginning of your question.pstpl template
<a name={QUESTION_NUMBER}></a>

Using the general survey token link with the question code attached by a # will scroll you to the particular question when the link is opened. This works only in 'all in one' 1-page surveys only, though.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
4 years 10 months ago #87874 by Fred01
Fred01 replied the topic: Show only one question to participant
Thanks Carsten and Mazi.

Unfortunately, the "all in one" display is not going to work since these are VERY long surveys.

Out of curiosity I did try the bookmark # with question_number and couldn't get that to work.

Carsten, when a participant selects "resume later" and token persistence is enabled, doesn't it return him to the group (in group mode) or question (in question mode) where he stopped?

Please Log in to join the conversation.

More
4 years 10 months ago #87882 by Fred01
Fred01 replied the topic: Show only one question to participant
On another topic here there's a reference to advancing the form with javascript:

document.limesurvey.move.value = '2';
document.limesurvey.submit();

This is how the index does it. Is something like that a possibility?

Please Log in to join the conversation.

More
4 years 10 months ago #87891 by DenisChenu
DenisChenu replied the topic: Show only one question to participant

Fred wrote: Carsten, when a participant selects "resume later" and token persistence is enabled, doesn't it return him to the group (in group mode) or question (in question mode) where he stopped?

Return to the last page (group or question).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 10 months ago #87911 by Fred01
Fred01 replied the topic: Show only one question to participant
Hmmmm.

Ok, let's say we just use Q-by-Q mode with the index enabled.

We know it's possible to start the session at a specific question (other than the first one), because that's how it works when you resume.

And it's also possible to jump directly to other questions, because this is how the index works, using javascript and document.limesurvey.move.value.

So the mechanisms are already there in the LS core.

Now if only we could read a Question_id from URL parameter and route them right to that question with the index visible, while also doing the necessary calculations to get the index and display it.

Easier said than done, but maybe some smart person could figure this out... :)

Please Log in to join the conversation.

More
4 years 10 months ago #87916 by Mazi
Mazi replied the topic: Show only one question to participant
I also consider this a useful feature to be able to jump to a certain question and from my knowledge (Shnoulle, can you confirm this?), the Expression Manager is also able to handle such jumps by checking question dependency to not get into trouble with conditions.
So it should be possible to code this. Where are the volunteers :-)


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 10 months ago #87918 by Fred01
Fred01 replied the topic: Show only one question to participant
Mazi, using the Expression Manager to sort of "roll your own" index with jumping sounds amazing. I will help anyway I can.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now