Piped text from multiple choice option (text entry ) | XM Community
Skip to main content
Solved

Piped text from multiple choice option (text entry )

  • December 8, 2023
  • 5 replies
  • 736 views

HenrikeS
Level 2 ●●
Forum|alt.badge.img+3

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.

Best answer by ArunDubey

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

5 replies

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • 589 replies
  • Answer
  • December 8, 2023

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


HenrikeS
Level 2 ●●
Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 24 replies
  • December 8, 2023

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


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • 589 replies
  • December 8, 2023

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..


HenrikeS
Level 2 ●●
Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 24 replies
  • December 8, 2023

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!


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • 589 replies
  • December 8, 2023

Great, All the best @HenrikeS !!