Can I directly jump to different question groups

More
6 years 8 months ago #54599 by zenil79
zenil79 created the topic: Can I directly jump to different question groups
I am creating a survey with 4 different question groups . Each group has a different kinds of questions. I would like to put 4 links on the first page of the survey that, each link is a direct link to that question group. Is that possible ?

Please Log in to join the conversation.

More
6 years 8 months ago #54601 by tpartner
tpartner replied the topic: Can I directly jump to different question groups
You can put your links in the form of a question and then use conditions to hide the unwanted groups.

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

Please Log in to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #54602 by tpartner
tpartner replied the topic: Can I directly jump to different question groups

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 6 years 8 months ago by tpartner.

Please Log in to join the conversation.

More
6 years 8 months ago #54603 by zenil79
zenil79 replied the topic: Can I directly jump to different question groups
That doesn't fully answer it. None of the questions in my groups are mandatory. Is it not possible to just "jump" to a question group without using conditions ? aka a direct link to display a question group ? I consider questions groups more or less as pages. Each "page" has some questions. I want the user to select a "page" by clicking on a link.

Please Log in to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #54604 by tpartner
tpartner replied the topic: Can I directly jump to different question groups
Unfortunately, no, the groups are not "pages". They may be displayed as a page but in reality they are groups of elements in a form. So there is no such thing as http://myLimeSurveys/index.php?group=2 .

The closest you could come to that would be to use JavaScript to advance the form
document.limesurvey.move.value = '2';
document.limesurvey.submit();
but as far as I know, that will only work if the group has already been visited.

I don't understand the problem with using a question and conditions to display the appropriate group. It doesn't matter if the questions are mandatory (except the group selection question).

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 6 years 8 months ago by tpartner.

Please Log in to join the conversation.

More
6 years 8 months ago #54612 by DenisChenu
DenisChenu replied the topic: Can I directly jump to different question groups
Maybe you can explain why you need 4 group.

Why you don't use 4 survey, then the four survey link appear on survey list.

:)

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
6 years 8 months ago #55541 by zenil79
zenil79 replied the topic: Can I directly jump to different question groups
This is fine..I can use the built in lime survey groups and go sequentially..

Please Log in to join the conversation.

More
6 years 8 months ago #55568 by Mazi
Mazi replied the topic: Can I directly jump to different question groups
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


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
6 years 7 months ago - 6 years 7 months ago #57175 by speedtuga
speedtuga replied the topic: Can I directly jump to different question groups
The feature that allows to jump between different question groups is a specification of my current project.

How can I accomplish this?

How does LimeSurvey knows which is the user current page?
Can I set this value in the cookie or can I change any value in the database?

Thank you for your support.
Last Edit: 6 years 7 months ago by speedtuga.

Please Log in to join the conversation.

More
6 years 7 months ago #57232 by speedtuga
speedtuga replied the topic: Can I directly jump to different question groups
No workaround for this issue?
Can someone help me?

Please Log in to join the conversation.

More
6 years 7 months ago #57285 by Mazi
Mazi replied the topic: Can I directly jump to different question groups
To jump forwards you can use conditions.

To jump backwards there will be a new feature at version 1.91.

There is a hiden element checking the current step in a survey, example:
<!-- group2.php -->
<input type='hidden' name='thisstep' value='8' id='thisstep' />


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
6 years 7 months ago #57286 by speedtuga
speedtuga replied the topic: Can I directly jump to different question groups
I will use javascript to simulate button clicks (forward and backwards) and I will check the current step using that hidden value.

Using conditions is not an option in my opinion.

Thank you

Please Log in to join the conversation.

More
6 years 7 months ago #57308 by Mazi
Mazi replied the topic: Can I directly jump to different question groups
You're welcome.

Please post your solution here afterwards.


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
5 years 8 months ago #72264 by jsmello
jsmello replied the topic: Can I directly jump to different question groups

tpartner wrote: Unfortunately, no, the groups are not "pages". They may be displayed as a page but in reality they are groups of elements in a form. So there is no such thing as http://myLimeSurveys/index.php?group=2 .

The closest you could come to that would be to use JavaScript to advance the form

document.limesurvey.move.value = '2';
document.limesurvey.submit();
but as far as I know, that will only work if the group has already been visited.

I don't understand the problem with using a question and <a href=' docs.limesurvey.org/tiki-index.php?page=Setting%20conditions '>conditions</a> to display the appropriate group. It doesn't matter if the questions are mandatory (except the group selection question).


Hi Tom,

I'm looking for how I could jump to a question group using something like this code that you posted, but it isn´t working. I´m validating the answers in the end of the survey, so If the user forgot to fill some mandatory question, The survey jumps (goes back) to the correspondent group of question.
document.limesurvey.move.value = '2';
document.limesurvey.submit();

Do I need enable some option for it code works well?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now