Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

updateTokenByResponse

More
17 hours 43 minutes ago #273537 by rwinford77
Please help us help you and fill where relevant:
Your LimeSurvey version:   LimeSurvey Community Edition Version 6.15.5+250724
Own server or LimeSurvey hosting:   own server
Survey theme/template:   Bootstrap Vanilla,   with mods for colors and fonts
==================

I am using the updateTokenByResponse plugin from Denis.  I have had it work in the past (3 months ago) but can't figure out why it won't work now.  The survey is getting the data from the participants list, including the custom fields.  I have built a small survey with 2 questions, basically the same.  Name uses the standard {firstname} token field and Question uses Attribute_1.  I set the default values to {TOKEN:FIRSTNAME} and  {TOKEN:ATTRIBUTE_1} and that part works.  But, when I enter new data in the field it is not being updated in the participant list.

The name QCODE is firstname and I have {firstname} in the plug-in configuration. The question QCODE is Q1 and I have  {Q1}  in the plug-in configuration.  The response data shows the input text, but the attribute field in the participant DB is not updated.

I have the survey set as follows:
1. non-anonymous
2. created 2 dummy participants, with ATTRIBUTE_1 data
3. Enable participant-based response persistence: = ON
4. Allow to update the responses using the access code = ON

I've attached the LSS file.  I'm sure it's something simple that I've missed, but I can't find it.  Thanks for your help.

Rick

Please Log in to join the conversation.

More
7 hours 31 minutes ago #273543 by DenisChenu
Replied by DenisChenu on topic updateTokenByResponse
Plugin is not configured.
Checked, after config it's OK


 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: rwinford77

Please Log in to join the conversation.

More
6 hours 4 minutes ago #273545 by rwinford77
Replied by rwinford77 on topic updateTokenByResponse
Thanks, Denis. That's what I was missing. It is working better now; I still have some work to do, but that got me past that problem. Greatly appreciate it.

Please Log in to join the conversation.

More
5 hours 55 minutes ago #273546 by rwinford77
Replied by rwinford77 on topic updateTokenByResponse
After Denis showed the config screen, I recognized it, but couldn't remember where to find it.  For others, like me, who can't remember things well:
.
The configuration to UPDATE the Participant record after the response is submitted, is under Participant Settings and then Tools -> Token update.

Rick
Thanks again, Denis 

 

Please Log in to join the conversation.

More
4 hours 14 minutes ago #273550 by DenisChenu
Replied by DenisChenu on topic updateTokenByResponse
Tools menu is the same on any survey settings.

A feature can be add it (the link) in Survey plugin settings. More access is always good.
Don't have a solution to add it in particpant edit directly currently/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: rwinford77

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose