Math operations in a side by side-by-side question | XM Community
Skip to main content
Question

Math operations in a side by side-by-side question

  • September 4, 2024
  • 1 reply
  • 49 views

jmborzick
QPN Level 5 ●●●●●
Forum|alt.badge.img+41
  • QPN Level 5 ●●●●●
  • 261 replies

I’m create a requisition form in Qualtrics using a side-by-side question. (See screenshot). My ideal would be to add an additional column on the far right that would give me the product of QTY & Cost/Item as the data is entered in each row (Up to 25 rows)

 

A bonus would be to then to have a running total of all of the products. 

 

Is this possible? 

 

 

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6084 replies
  • September 4, 2024

@jmborzick,

Yes it is possible, but you would need to use JavaScript instead of Qualtrics Math Operations.

To demonstrate, take a look at the video demo of my orderFormMatrix function here. It is the same idea except it is for a matrix question instead of a side-by-side.