Welcome to the LimeSurvey Community Forum

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

Submit a user to external page with custom field as identifier (e.x promo code)

  • tpartner
  • tpartner's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #230260 by tpartner
If using custom attributes in the participants table, they are retrieved something like this - {ATTRIBUTE_1}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 10 months ago #230263 by tammo
I think you have to use: {TOKEN:ATTRIBUTE_1}


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: bathanus

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #230264 by Joffm
In my opinion you should use {TOKEN:ATTRIBUTE_1}

And: It is better to generate the end-url in an equation (myEndUrl) before.
In the end-url you only enter {myEndUrl}

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: tammo, bathanus

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #230268 by tpartner
Oops, yes, I was thinking of in the email templates.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #230270 by holch

Oops, yes, I was thinking of in the email templates.


These inconsistencies are annoying. Just like equations with and without {}.

I would always use the same code. It is not that much more work to write {TOKEN:ATTRIBUTE_1} than {ATTRIBUTE_1} or add the {} to a relevance equation, so not much gained.

But at least it would be more consistent if this would be the same code over the whole of Limesurvey.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose