Adding a Calculator to Survey | XM Community
Solved

Adding a Calculator to Survey

  • 18 July 2022
  • 6 replies
  • 407 views

Badge

Hi, I am trying to add a calculator in to be displayed near a question for the respondent to do their own math and input an answer but I have very limited coding experience. How would I do this?

icon

Best answer by Tom_1842 18 July 2022, 23:08

View original

6 replies

Userlevel 7
Badge +27

Hi there, I found a bunch of JavaScript calculator implementations on codepen:
https://codepen.io/tag/calculator
Each implementation has HTML, CSS, and JavaScript that you can put in place in Qualtrics. I liked this one (credit vaishak101) and have adapted it into a Qualtrics survey. If you import the attached QSF file into a blank survey project, you should be all set.
SurveyCalculator.qsfSurveyCalculator1.png

Userlevel 7
Badge +27

Also you might check out this thread to have the calculation fill in the Text Entry Field:
https://community.qualtrics.com/XMcommunity/discussion/2421/add-a-calculator-on-the-page-so-that-subjects-can-use-it-to-do-some-calculation-manually

Badge

Thank you so much!

Badge

Hi, I have the same query but haven’t been able to access the attached file that you reference (the .qsf seems to just feed me back to this thread). Apologies if I’m missing something but could you please reupload this if you still have access? Thanks!

Userlevel 7
Badge +27

@Raf here you go. I added the keith-wood calculator from the other thread in there too.

Badge

Thank you very much for the attachment and the swift response! This is exactly what I needed

Leave a Reply