Welcome to the LimeSurvey Community Forum

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

How can I assign the response to a question to a token attribute?

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 2 weeks ago #241306 by blocka
Please help us help you and fill where relevant:
Your LimeSurvey version:  3.28.51+230228
Own server or LimeSurvey hosting: Own
Survey theme/template: N/A
==================
I have some custom TOKEN attributes that I'd like to update with the values of responses to some in-survey questions. I suspect I can do this via a hidden equation type question, but I'm not too clear on the syntax to use. 
Can anyone point provide an example of how to do this or point me to a guide?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 2 weeks ago #241307 by holch
You won't be able to update any attribute in the token table out of the box. You will need to install the plugin updateTokenByResponse

gitlab.com/SondagesPro/TokenManagement/updateTokenByResponse

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 2 weeks ago #241347 by blocka
Is there an LS5 version of the updateTokenByResponse? While I am using LS 3, I will be updating to LS5 soon, so want to make sure I have a future-proof solution...

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 2 weeks ago #241350 by holch
I don't know for which versions of Limesurvey this plugin works. You will have to check with the forum user @Denis to check compatibility. He is the developer of this plugin.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 2 weeks ago - 1 year 2 weeks ago #241421 by DenisChenu

I don't know for which versions of Limesurvey this plugin works. You will have to check with the forum user @Denis to check compatibility. He is the developer of this plugin.

 
blocka have my email : gitlab.com/SondagesPro/TokenManagement/u...fba0d5911789e3507d62

 Fetaure  : 5.X version
roughly tested

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.
Last edit: 1 year 2 weeks ago by DenisChenu.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose