- Posts: 116
- Karma: 10
- Thank you received: 31
EM-link to question group
3 years 7 months ago #134497
by coeneisma
EM-link to question group was created 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
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.
Less
More
- Posts: 8517
- Karma: 621
- Thank you received: 2615
3 years 7 months ago #134506
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
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.
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
www.limesurvey.org/forum/can-i-do-this-w...uestion-groups#54604
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8517
- Karma: 621
- Thank you received: 2615
3 years 7 months ago - 3 years 7 months ago #134511
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
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:
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.
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.
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.
Less
More
- Posts: 8517
- Karma: 621
- Thank you received: 2615
3 years 7 months ago #134514
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
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.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 11993
- Karma: 413
- Thank you received: 2187
3 years 7 months ago #134552
by DenisChenu
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 .
Replied by DenisChenu on topic EM-link to question group
Maybe best is to allow adding {REPLACEMENT} by plugin.
no ?
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.