Welcome, Guest
Username: Password: Remember me

TOPIC: Jump to a question group

Jump to a question group 2 years 7 months ago #74709

  • tacman1123
  • tacman1123's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
I need a way to go directly to a question group, and was wondering if there's some way to indicate that on the url.

The group is actually a summary, no real questions, but it takes the answers and prints out a report. This is basically the solution presented in another thread about doing medical assessments that TMSWhite and I had here:

www.limesurvey.org/en/forum/can-i-do-thi...nseid-and-some-token

Is there a way to turn off the cookies and do everything from the url? Often the page ends up at index.php, and I really want to see how the survey and group work together and if there's a way to use the url to navigate to where I need to be.

Thanks,

Tac
The administrator has disabled public write access.

Aw: Jump to a question group 2 years 7 months ago #74839

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

does a survey even work without cookies? I tried it a few times but it didn't get past the welcome page/page one because the survey URL doesn't contain any parameters if you go to the second page of a survey.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

Re: Aw: Jump to a question group 2 years 7 months ago #74922

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Depending on the survey settings, there is a "lastpage" column at the lime_survey_12345 table which stores at which page a user answered the last question.
If I remember correctly, this is used for the save and return later feature. With some modifications to the source code it might be possible to refer to this value when accessing a survey, so that when passing something like "...&lastpage=5" the system loads group 5 of the survey (assuming you are running the survey in group by group mode).

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: Aw: Jump to a question group 2 years 7 months ago #74949

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4206
  • Thank you received: 790
  • Karma: 360
You may be able to use JavaScript to grab the URL parameter and jump to a certain step in the survey - www.limesurvey.org/en/forum/can-i-do-thi...h-of-questions#65680
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.116 seconds
Donation Image