Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Can I directly jump to different question groups

  • zenil79
  • zenil79's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #54599 by zenil79
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 ?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 2 months ago #54601 by tpartner
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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 2 months ago - 13 years 2 months ago #54602 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 13 years 2 months ago by tpartner.
The topic has been locked.
  • zenil79
  • zenil79's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #54603 by zenil79
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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 2 months ago - 13 years 2 months ago #54604 by tpartner
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
Code:
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: 13 years 2 months ago by tpartner.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 2 months ago #54612 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • zenil79
  • zenil79's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 month ago #55541 by zenil79
This is fine..I can use the built in lime survey groups and go sequentially..
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
13 years 1 month ago #55568 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
13 years 1 month ago - 13 years 1 month ago #57175 by speedtuga
Replied by speedtuga on 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: 13 years 1 month ago by speedtuga.
The topic has been locked.
More
13 years 3 weeks ago #57232 by speedtuga
Replied by speedtuga on topic Can I directly jump to different question groups
No workaround for this issue?
Can someone help me?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
13 years 3 weeks ago #57285 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
13 years 3 weeks ago #57286 by speedtuga
Replied by speedtuga on 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
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose