EM-link to question group

More
3 years 7 months ago #134497 by coeneisma
Hi all,

Does anyone knows if it is possible to make a (EM) link to a previous answered question group, a la the links in the question index?

The goal is to present given answers (and some EM magic) as text on the last question page, and give the user the possibility to go back when he/she wants to change some answers, without using the question index.

Coen

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 7 months ago #134506 by tpartner
Replied by tpartner on topic EM-link to question group
Hi Coen, I have struggled with this in the past and ended up using a hidden index and accessing it via JavaScript.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #134509 by coeneisma
Replied by coeneisma on topic EM-link to question group
Thanks tpartner. Are you referring to your workaround in this post?

www.limesurvey.org/forum/can-i-do-this-w...uestion-groups#54604

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #134511 by tpartner
Replied by tpartner on topic EM-link to question group
No, I don't think I ever posted it in the forum - it was a solution for a customer.

Basically, I hid the index and presented the respondent with a series of buttons in the summary text. Clicking a button in the summary virtually clicked a button in the index. Of course, this would only work for "pure" navigation, not submitting a response and then navigating. (but it sounds like it might suit your needs)

Code something like this:
$('button[data-index="1"]').on('click', function(e) {
	$('#index button[value="1"]').trigger('click');
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 3 years 7 months ago by tpartner.
The following user(s) said Thank You: coeneisma

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #134512 by coeneisma
Replied by coeneisma on topic EM-link to question group
Great! Thanks for the example, I'll play with it a little.

Also I made a feature request here: bugs.limesurvey.org/view.php?id=10926
Please support if you would like this feature as well.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #134514 by tpartner
Replied by tpartner on topic EM-link to question group
Supported :)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #134552 by DenisChenu
Maybe best is to allow adding {REPLACEMENT} by plugin.

no ?

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!