Embedded data logic within block | XM Community
Skip to main content

Hi,

 

I have a block which has following:

  1. NPS question
  2. Open text for NPS 

I would like to store the value chosen in NPS question and change the display text of Open Text depending on whether it is passive, promoter and detractor (same question with just text changed).

The question is : In survey flow it is letting me set value of embedded field - NPS_Open_Text with branch logic only between 2 blocks. This means NPS question and Open text would appear in 2 different pages as I had to move them to 2 blocks. But I need it in same page. How can I achieve it ?.

Regards,

Neha Tank

 

Hi @Neha Tank , You cannot have the NPS and its follow up custom open text in the same page directly. You would need to show it on a different page itself and if adding the open text through survey flow then you would need to add the open text question in another block.

 


Thanks for the prompt response. Any idea if I can have keywords appearing on top of open text which gives an option to customer to select one from the keywords or write their own ?


Hi @Neha Tank ,

If you want them on the same page, you would have to build 3 open text questions (1 for promoters, 1 for passives and 1 for detractors) and use in page display logic to show the one you want depending on the NPS score. You can then create a coalescing variable with the custom field editor in data & analysis to regroup them if you want.


@Neha Tank It still can be in the same block, you can add page break in between


@dxconnamnguyen , But I want them to be in same page.


@dxconnamnguyen , But I want them to be in same page.

I see, that will require some coding. I suggest you make other topic about this, so that other guys might jump in but make your question clear.

You want the text of question Q2-Opentext to dynamically change within the same page of question Q1-NPS. I’ll get into investigate it went I get home


Leave a Reply