Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Reservation number and customer name as parameters

Reservation number and customer name as parameters 3 years 3 months ago #99210

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
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: 3 years 3 months ago by papacico.
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99232

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99291

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
hello i posted a message yesterday but is gone now
Last Edit: 3 years 3 months ago by papacico.
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99372

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
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
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99398

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99403

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
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
Attachments:
Last Edit: 3 years 3 months ago by papacico.
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99465

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: papacico

Reservation number and customer name as parameters 3 years 3 months ago #99490

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
Hi Denis, great! This is working just fine ! :)
The administrator has disabled public write access.

Reservation number and customer name as parameters 3 years 3 months ago #99514

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.
Time to create page: 0.497 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form