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

using piped text without a page break?

  • July 4, 2022
  • 2 replies
  • 50 views

Forum|alt.badge.img

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!


2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6082 replies
  • July 4, 2022

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.


Forum|alt.badge.img
  • Author
  • 1 reply
  • July 4, 2022

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!