using piped text without a page break? | XM Community
Skip to main content

Hi qualtrics community,
A newbie here. I am trying to have participants to indicate a number between 0-77 as an answer to one question (let's call this number 'x'), and on the same page I would like them to see the calculation 77-x. I can do this on the next question by inserting " $e{77-(${q://QID10/ChoiceTextEntryValue})}" but if I remove the page break everything falls apart.

Is there a way for me to set this basic 77-x calculation in any other way so the survey participants can see x, then 77-x on the same page?

Thanks!


You'll need to do it with JavaScript. Use an event handler so that any time the value 0-77 changes the calculated value in the next question changes.


I have no idea how to do that as my js game does not exist 😞 would you have any leads? thank you for taking the time to reply!


Leave a Reply