Dynamic parameters on surveys by participants?

More
4 days 17 hours ago #168751 by ejosepintog
ejosepintog created the topic: Dynamic parameters on surveys by participants?
Hi.

I am trying to do different surveys about travel, they are all similar, the only thing they have are different, the origin, the destination and the company in the questions.
These attributes are loaded by each participant.

Is there any way to get them dynamically in the survey, or should I create a survey for each company, destination and origin?

Thanks.

Please Log in or Create an account to join the conversation.

More
4 days 17 hours ago #168753 by holch
holch replied the topic: Dynamic parameters on surveys by participants?
When you are saying "these attributes are loaded by each participant" I assume you know your participants, their origin, their destination and the company and you use tokens for this.

In this case, you can create custom token attributes for "origin", "destination" and "company" and you can reference them via piping (use Expression Manager) into your survey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
4 days 17 hours ago #168756 by Joffm
Joffm replied the topic: Dynamic parameters on surveys by participants?
Of course you can do that.

As far as I understand these three different things are in the participants data as attributes.

So just pipe the attribute into the question (or answer) text

Why did you travel to {ATTRIBUTE_1} last year.
Or:
Why did you travel to {TOKEN:ATTRIBUTE_1} last year.
Depends whether your survey is anonymous or not.

If I misunderstood your desire please provide a sample survey (*.lss)

Regards
Joffm

Please Log in or Create an account to join the conversation.

More
4 days 14 hours ago #168772 by ejosepintog
ejosepintog replied the topic: Dynamic parameters on surveys by participants?
Hi, thanks for the answer.

I have this to do some test in my survey "{ATTRIBUTE_1} -- {TOKEN:ATTRIBUTE_1}".

The first time it worked, then I stopped the survey to make some changes, and when I started it again, the application replaces "{TOKEN: ATTRIBUTE_1}" for nothing.

Please Log in or Create an account to join the conversation.

More
4 days 14 hours ago #168775 by holch
holch replied the topic: Dynamic parameters on surveys by participants?
You have a space in your last {TOKEN: ATTRIBUTE_1}, check if this is also the case in your questionnaire.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
4 days 13 hours ago #168777 by Joffm
Joffm replied the topic: Dynamic parameters on surveys by participants?

"{ATTRIBUTE_1} -- {TOKEN:ATTRIBUTE_1}".

????

You read this in the manual?

Access to Variables

Expression Manager provides read-only access to whichever variables we might need. For backwards compatibility, it provides access to the following:

TOKEN:xxx - the value of a TOKEN (e.g. TOKEN:FIRSTNAME, TOKEN:ATTRIBUTE_5) (Only for NOT anonymous survey).


https://manual.limesurvey.org/Expression_Manager#Access_to_Variables

Joffm

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!