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

More
3 years 2 months ago #124547 by Thomassie
Thomassie created the topic: can i change the text value of an answerbox in another text ?
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.

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

More
3 years 2 months ago - 3 years 2 months ago #124566 by tpartner
tpartner replied the topic: can i change the text value of an answerbox in another text ?
You can use the stristr function to return the value of a selected item up to the first space.

{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: 3 years 2 months ago by tpartner.

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!