title: How do I display the output of a function of multiple qualtrics sliders in real time?
body: <p>My colleague and I am designing a survey using Qualtrics. On one page respondents must move a series of sliders.
  We need to display the output of a function of the values of the sliders on the same page, ideally also in the form of another slider.
  All of this must be done <em>while</em> the respondent moves the sliders.</p>
  
  <p>Concretely, suppose the following:</p>
  
  <pre><code>value of slider 1 = 30;
  value of slider 2 = 10;
  value of slider 3 = 0
  
  Output to be displayed = 30 x 20 + 10 x 5 + 0 x 15 = 650
  </code></pre>
  
  <p>where the 20, 5 and 15 are just arbitrary constants in the background.</p>
  
  <p>If the user were to move slider 1 to 31, the displayed output should automatically update in real time to 670.</p>
  
  <p>Any tip on how this is done? We're newbies to qualtrics and completely inexperienced with Java, so we'd be very grateful to anyone willing to provide us with working code. Thanks!</p>