Reservation number and customer name as parameters

More
4 years 4 weeks ago - 4 years 4 weeks ago #99210 by papacico
papacico created the topic: Reservation number and customer name as parameters
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: 4 years 4 weeks ago by papacico.

Please Log in to join the conversation.

More
4 years 4 weeks ago #99232 by DenisChenu
DenisChenu replied the topic: Reservation number and customer name as parameters
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 3 weeks ago - 4 years 3 weeks ago #99291 by papacico
papacico replied the topic: Reservation number and customer name as parameters
hello i posted a message yesterday but is gone now
Last Edit: 4 years 3 weeks ago by papacico.

Please Log in to join the conversation.

More
4 years 3 weeks ago #99372 by papacico
papacico replied the topic: Reservation number and customer name as parameters
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:

Please Log in to join the conversation.

More
4 years 3 weeks ago #99398 by DenisChenu
DenisChenu replied the topic: Reservation number and customer name as parameters
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 3 weeks ago - 4 years 3 weeks ago #99403 by papacico
papacico replied the topic: Reservation number and customer name as parameters
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: 4 years 3 weeks ago by papacico.

Please Log in to join the conversation.

More
4 years 3 weeks ago #99465 by DenisChenu
DenisChenu replied the topic: Reservation number and customer name as parameters
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: papacico

Please Log in to join the conversation.

More
4 years 2 weeks ago #99490 by papacico
papacico replied the topic: Reservation number and customer name as parameters
Hi Denis, great! This is working just fine ! :)

Please Log in to join the conversation.

More
4 years 2 weeks ago #99514 by DenisChenu
DenisChenu replied the topic: Reservation number and customer name as parameters
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now