Creating counter showing number of selected choices that updates dynamically? | XM Community
Skip to main content
Solved

Creating counter showing number of selected choices that updates dynamically?


Forum|alt.badge.img+2
I've created a multiple choice question, where multiple answers can be selected. The list of possible choices is quite long (~100), so I am trying to create a counter that will display the number of answers someone has selected, and I would like it to update dynamically as respondents are making their selections. Is this possible? I'm not having any luck trying to adapt the Javascript code found here: https://www.qualtrics.com/community/discussion/144/how-do-i-show-the-number-of-words-in-text-entry-boxes-i-have-several-on-the-page Thanks in advance for any guidance you can provide!

Best answer by MohammedAli_Rajapkar

Here is the example survey link: https://qimpl.az1.qualtrics.com/jfe/preview/SV_bvibfiNlFjxmbUV?Q_SurveyVersionID=current&Q_CHL=preview Please find attached QSF...
View original

7 replies

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
Here is the example survey link: https://qimpl.az1.qualtrics.com/jfe/preview/SV_bvibfiNlFjxmbUV?Q_SurveyVersionID=current&Q_CHL=preview Please find attached QSF...

Forum|alt.badge.img+2
  • Author
  • 3 replies
  • September 1, 2018
Thank you so much!

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
Just to give some more information... The counter is embedded in the question text through "rich content editor" source section. https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/rich-content-editor/rich-content-editor-overview/#AccessingTheRichContentEditor Check for source view

  • 2 replies
  • October 15, 2019
I am having the same issue. I have a multiple choice question for which I want to display the count of selected choices in the same question text. I am using ${q://QID7/SelectedChoicesCount} but when I test the survey it does not show anything for the piped text. Many thanks for any tips, suggestions, guidance

Forum|alt.badge.img+1
  • 2 replies
  • November 28, 2019
Can anybody help me how I can display the count of selected choices on the same page as the multiple choice question but in a seperate question as well? Adapting the "VAR QID" in @Mohammedali_Rajapakar_Ugam JS does not work. Many thanks for any help!!

Forum|alt.badge.img
  • 10 replies
  • March 17, 2022

MohammedAli_Rajapkar this is great! Do you know if there's a way to pipe-in that number to the next question? Or for example add it in a logic?
What I am trying to do is depending on the number of countries respondents see they will see the respective number of the document upload fields. Hence, need to build a logic around it. Any suggestions?


AHammell
Level 2 ●●
Forum|alt.badge.img+11
  • Level 2 ●●
  • 46 replies
  • December 7, 2023

Hi Mohammed! Are you able to attach the QSF file again? It is no longer appearing in this comment chain.


Leave a Reply