Welcome to the LimeSurvey Community Forum

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

Reservation number and customer name as parameters

  • papacico
  • papacico's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago - 10 years 6 months ago #99210 by papacico
Hello everybody,

i run a travel agency and i'd like to send survey invitations to our customers after they came back from holiday. I need to have visisible our customer's name and reservation number in the survey result for each customer who applyes the survey, i tryed to export a csv file from our database with this fields : firstname, lastname, email, reservation_number but the reservation_numbers is not showing in the token management
can somebody help please? Thank you in advance.
Last edit: 10 years 6 months ago by papacico.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 6 months ago #99232 by DenisChenu
Hi,

Add an new attribute, and use:
- attribute_1 in your CSV,
- {TOKEN:ATTRIBUTE_1} in survey (See Expression Manager).

Denis

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.
  • papacico
  • papacico's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago - 10 years 6 months ago #99291 by papacico
hello i posted a message yesterday but is gone now
Last edit: 10 years 6 months ago by papacico.
The topic has been locked.
  • papacico
  • papacico's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #99372 by papacico
hello Denis,

as you can see the attribute_1 is not returning the value from the token table what am i doing wrong?

Thank you in advance
Attachments:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 6 months ago #99398 by DenisChenu
You have to have a "TOKEN table".

And sometimes, you need to renew EM $_SESSION : click on "Lime Expression manager test page".

And think to you have to use
{TOKEN:ATTRIBUTE_1} and not {TOKEN:attribute_1}

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.
  • papacico
  • papacico's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago - 10 years 6 months ago #99403 by papacico
hello Denis, thank you for your reply,

i do have a token tabel see the attachement

a tryed both {TOKEN:attribute_1} and {TOKEN:ATTRIBUTE_1} but none is working
Last edit: 10 years 6 months ago by papacico.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 6 months ago #99465 by DenisChenu
Did you try with {ATTRIBUTE_1}

What is your LS 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 following user(s) said Thank You: papacico
The topic has been locked.
  • papacico
  • papacico's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #99490 by papacico
Hi Denis, great! This is working just fine ! :)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 6 months ago #99514 by DenisChenu
Think this must be reported as BUG.

Denis

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.

Lime-years ahead

Online-surveys for every purse and purpose