Dynamic update of multiple values based on slider value | XM Community
Skip to main content

I want to present two dynamically updated values (functions of the slider value) as the slider moves right and left. The slider represents the relative share of money (RS) that two players receive and the two addditional values should represent the absolute payoff of the two players based on the following functions:
·      Player’s 1 payoff: P1 = I – (SV-I)
·      Player’s 1 payoff: P2 = P1*(100- SV)/SV
Where
I = initial relative share (default value) for player who moves the slider (P1)
SV = actual relative share (slider value) as slider moves

I am not sure how to adjust previous code presented in this post              for my case (I am relatively new to Javascript and Qualtrics).

Be the first to reply!

Leave a Reply