Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Can I directly jump to different question groups

Re: Can I directly jump to different question groups 3 years 7 months ago #57285

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Can I directly jump to different question groups 3 years 7 months ago #57286

  • speedtuga
  • speedtuga's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
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 administrator has disabled public write access.

Re: Can I directly jump to different question groups 3 years 7 months ago #57308

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Can I directly jump to different question groups 2 years 9 months ago #72264

  • jsmello
  • jsmello's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
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?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image