Piped text from multiple choice option (text entry ) | XM Community
Solved

Piped text from multiple choice option (text entry )

  • 8 December 2023
  • 5 replies
  • 151 views

Userlevel 2
Badge +2

Hi everyone!

I have contacted the support already but they could not help me :/

My Problem:

I have a multiple choice question with different answer options. One of them allows text entry:

       Others: _____________

Now I want to pipe in the text entry into the question text of a following question.

Therefore I have used

       ${q://QID42/ChoiceTextEntryValue/24}

But then the piped text is (for example: the respondent has typed in “ABC”):

       “Others: ABC”

What I want is only the answer “ABC” to be piped, not the answer choice “others:”.

How can I do that?

Thanks for your help!

:) h.

icon

Best answer by ArunDubey 8 December 2023, 10:12

View original

5 replies

Userlevel 7
Badge +33

I’m sure you must be using Answer type as Allow one answer option. for piping purpose use ${q://QID42/ChoiceGroup/SelectedChoicesTextEntry} instead.

Userlevel 2
Badge +2

@ArunDubey:
Unfortunately, this is not working either. The piped text is again  “Others: ABC”.
😔

Userlevel 7
Badge +33

Can you please share screenshot of your implementation. It should be like as follows.

Q1
 



Q2
 

Output:

there is no Other text in the output..

Userlevel 2
Badge +2

It’s working, sorry, ArunDubey!

My mistake was:

I wrote

       ${q://QID42/ChoiceGroup/SelectedChoices}${q://QID42/ChoiceGroup/SelectedChoicesTextEntry}

to get as well the answer choices above the text entry AND the text entry (in accordance to which is selected: the answer choices or the text entry).

But now I see that

       ${q://QID42/ChoiceGroup/SelectedChoicesTextEntry}

pipes both.

Thank you!

Userlevel 7
Badge +33

Great, All the best @HenrikeS !!

Leave a Reply