Conditioning on Embedded Value | XM Community
Skip to main content
Hello! I am trying to insert code into the JS for a question. The basic idea is to ask Qualtrics to update the value of an embedded value, x, if the value of another embedded value, y, is 1 and to do nothing otherwise. How can I accomplish this?
Pipe embedded value y into your JavaScript: ``` if("${e://Field/y}" == "1") { ...etc... ```