- Posts: 2
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Transfer a value to the next page
- loebby
- Topic Author
- Offline
- New Member
Less
More
7 years 9 months ago #138738
by loebby
Transfer a value to the next page was created by loebby
Hi,
is it possible to transfer a TextBox value from one page to another?
For Example:
I have a Survey with a page for each question group. The user enters his name into a TextBox question. Now I want to welcome the user on the next page with that Name he entered on the previous question.
I have created a TextBox copy. But the value is only filled in when the copy is on the same page. If the TextBox copy is on the next page it is always empty.
How can I get that value to the next page or is there another way to get a value from a previous question?
Thank you very mutch for any answer!
Best regards,
Christian
is it possible to transfer a TextBox value from one page to another?
For Example:
I have a Survey with a page for each question group. The user enters his name into a TextBox question. Now I want to welcome the user on the next page with that Name he entered on the previous question.
I have created a TextBox copy. But the value is only filled in when the copy is on the same page. If the TextBox copy is on the next page it is always empty.
How can I get that value to the next page or is there another way to get a value from a previous question?
Thank you very mutch for any answer!
Best regards,
Christian
The following user(s) said Thank You: Moonlight7
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
7 years 9 months ago #138742
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Transfer a value to the next page
Yes, this is called piping. Actually with the Expression Manager you can acess basically all responses anywhere in the questionnaire (of course only after a question has been answered).
Usually it looks like this {yourquestioncode}, assuming that the question code of the text box is "yourquestioncode". With some question types it can be a little more complicated because of the structure of the quesiton type (e.g array, multiple answers), but in general piping has become pretty easy since Limesurvey has the expression manager:
manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping
Usually it looks like this {yourquestioncode}, assuming that the question code of the text box is "yourquestioncode". With some question types it can be a little more complicated because of the structure of the quesiton type (e.g array, multiple answers), but in general piping has become pretty easy since Limesurvey has the expression manager:
manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: loebby
The topic has been locked.
- loebby
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
7 years 9 months ago #138803
by loebby
Replied by loebby on topic Transfer a value to the next page
Thank you very much. It works like a charm!
The topic has been locked.