- Posts: 25
- Thank you received: 3
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Pre-filling Responses to Survey Questions
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
5 years 8 months ago #171582
by nh905
Pre-filling Responses to Survey Questions was created by nh905
I created a simple survey to collect feedback on online journal articles. The survey contains two questions: the name of the article, and a list (Yes, Maybe, No) with comments. The articles contain thumbs up/thumbs down icons that link to the survey.
I have been able to pre-fill the article name and the list using URLs similar to https://<survey_url>/newtest/Y?Q1=article%20name&Q2=A1. The Q2 value properly selects the right list item, but the 'A1' value is also entered into the comments field. Is there a way to suppress pre-filling the comment other than moving the comment to a third question?
Thanks, Norbert
I have been able to pre-fill the article name and the list using URLs similar to https://<survey_url>/newtest/Y?Q1=article%20name&Q2=A1. The Q2 value properly selects the right list item, but the 'A1' value is also entered into the comments field. Is there a way to suppress pre-filling the comment other than moving the comment to a third question?
Thanks, Norbert
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
5 years 8 months ago #171583
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Pre-filling Responses to Survey Questions
How about using tokens and custom attributes to read in this information?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 8 months ago #171590
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 .
I don't answer to private message.
Replied by DenisChenu on topic Pre-filling Responses to Survey Questions
Please : LimeSurvey version and build number.
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.
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 3
5 years 8 months ago #171638
by nh905
Replied by nh905 on topic Pre-filling Responses to Survey Questions
Version 3.9.0+180604.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 3
5 years 8 months ago #171639
by nh905
Replied by nh905 on topic Pre-filling Responses to Survey Questions
I have a look at Expression Manager but am none the wiser. Tokens seem to be associated with users - I have no control over who will do the survey.
Thanks, Norbert
Thanks, Norbert
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 8 months ago #171650
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 .
I don't answer to private message.
Replied by DenisChenu on topic Pre-filling Responses to Survey Questions
Issue in LimeSurvey :
bugs.limesurvey.org/view.php?id=13901
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 following user(s) said Thank You: nh905
The topic has been locked.
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 3
5 years 8 months ago #171688
by nh905
Replied by nh905 on topic Pre-filling Responses to Survey Questions
Hi Denis, thanks for the fast response! Do you have a sense of when this update might be included in the stable Limesurvey CE build?
Regards, Norbert
Regards, Norbert
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 8 months ago #171690
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 .
I don't answer to private message.
Replied by DenisChenu on topic Pre-filling Responses to Survey Questions
If you need a urgent fix : use SGQA
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 following user(s) said Thank You: nh905
The topic has been locked.
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 3
5 years 8 months ago #171691
by nh905
Replied by nh905 on topic Pre-filling Responses to Survey Questions
Hi Denis, perfect! It took a while to figure out the SGQA syntax but I can confirm that switching to SGQA identifiers leaves the Comment field empty.
Thanks, Norbert
Thanks, Norbert
The topic has been locked.
- nh905
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 3
5 years 8 months ago #172143
by nh905
Replied by nh905 on topic Pre-filling Responses to Survey Questions
I just upgraded to 3.14.2 - the incorrect pre-filling of the Comments field is fixed.
Thanks Denis!
Norbert
Thanks Denis!
Norbert
The topic has been locked.