Disappearing zeros in recode values | XM Community
Skip to main content

Hi all,

I am trying to create a participant_id string using data from three questions asking the participant’s date, month and year of birth. Yet when I concat these items in a new field, recoded options that begin with zero (eg. 01 for January) remove the zero automatically. This leaves me with an uneven participant_id code for participants that were born in January-September or/and the first 9 days of the month.

Is there a way to ensure the recode value with the 0 at the beginning (as it is appearing in survey edit mode) sticks?

Many thanks!

 

 

Hi @gmkc94 ,

You need to pull those value and convert it into string to store it as participant_id


Hi @gmkc94 ,

Try to setup the embedded data as text value and then pipe in the values in survey flow


Hi @gmkc94 ,

Try to setup the embedded data as text value and then pipe in the values in survey flow

Thank you, this worked perfectly!


Leave a Reply