JavaScript output Help | XM Community
Skip to main content

Hi, all! My survey is set up to produce an average score amongst five behavior categories. I've managed to add JS coding to a block to reveal the highest and lowest of the five scores based on the survey answers. (Note: the alerts are set up for testing purposes.)
What I need help with:
I need to properly set up the array to output each of these two scores with its corresponding categories.
Also, what is needed to carry these values forward to determine customize email outputs?
The code so far is as follows:
image.pngAny help is greatly appreciated!

Be the first to reply!

Leave a Reply