How to set defaults for Loop & Merge from data from the Contact List? | XM Community
Question

How to set defaults for Loop & Merge from data from the Contact List?

  • 30 September 2020
  • 0 replies
  • 2 views

I have a loop question and I would like the values to be stored in the Contact List as (Name1, Name2, ..., NameX). I would also like to get the defaults from the embedded data for each loop.

if("${e://Field/Name${lm://CurrentLoopNumber}}" == "No") this.setChoiceValue(3,true);

This is the code I tried using but other discussion posts say i cannot have piped text inside piped text. How would I go about solving this? I have very limited knowledge about JavaScript.


0 replies

Be the first to reply!

Leave a Reply