New explanation to my problem (it may be Custom code but I am not sure) | XM Community
Skip to main content

I'm currently experiencing an issue with the piped text values in my Qualtrics survey, specifically related to dynamic responses. The issue arises when participants choose their preferred free music service. Instead of displaying "YouTube Music" (which some participants select), the survey always shows "Spotify (free)" as the value for the "FreeService" field. This problem is occurring in the "Device Switching Reminder" block, specifically in question Q866.

I have verified that the question IDs are correct and that the piping setup appears to be configured properly. Despite this, the value being piped is incorrect. After working with Qualtrics Support, they suggested that the issue lies within the custom JavaScript code used in my survey, which seems to be blocking the proper value from being piped in.

The support representative tried several debugging steps, including placing the relevant questions side-by-side and modifying the piped text values directly. However, no changes to the piped text had any effect—the survey continued to display "Spotify" instead of updating to "YouTube Music." The representative confirmed that the JavaScript code in my survey is likely the root cause of this issue.

I'm reaching out to the community for help on how to resolve this issue with the custom code or for suggestions on any alternative approaches I could use. Has anyone else experienced a similar issue where custom JavaScript interferes with dynamic piped text responses? If so, how did you resolve it?

Any advice or insights would be greatly appreciated!

JS seems to be problem always. Try to keep your survey without JS as far as possible.

 

Try using embedded data to display specific text


The issue arises when participants choose their preferred free music service. Instead of displaying "YouTube Music" (which some participants select), the survey always shows "Spotify (free)" as the value for the "FreeService" field. This problem is occurring in the "Device Switching Reminder" block, specifically in question Q866.

@defmay If you’re unfamiliar with custom code, don’t try to use it or  seek advice first. We also can’t do anything if we dont know what you’re doing with the custom code.
Also you have 866 questions in your survey 😲😲😲??? How do you manage them???


@defmay If the piped text is still incorrect one thing you can do is take a preview of the survey link. Inspect the page once it reaches Q866, find the option ID of “YouTube Music” and check if you have the same ID in your JavaScript. I faced incorrect pipe-in issue and this is how I resolved it after investigating.


Leave a Reply