Welcome to the LimeSurvey Community Forum

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

can i change the text value of an answerbox in another text ?

More
10 years 5 days ago #124547 by Thomassie
Hello I want the value in a certain answerbox (full name from a dropdownmenu) to come back later in the survey as another textvalue i (only given name) in a question, but of course with the same unique answercode.
The topic has been locked.
More
10 years 4 days ago - 10 years 4 days ago #124566 by tpartner
You can use the stristr function to return the value of a selected item up to the first space.

Code:
{stristr(q1.shown, ' ', 'true')}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 10 years 4 days ago by tpartner.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose