Javascript for incremental buttons on text entry? | XM Community
Skip to main content

I would like to have a text entry box where respondents can use buttons on either side of the text box to increase/decrease their responses by one. Ideally, I would love for it to be in the style that is represented on the Qualtrics Question Type toolbar to increase/decrease the number of choices, statements, fields, etc. (see screen grab below). Does anyone have any javascript code for this particular style?
CaptureTextBox.PNGI saw a previous thread that used code to produce a similar product but in a different style (https://www.qualtrics.com/community/discussion/6691/increment-embeded-field-data-by-1-upon-question-display). The above style would be much preferred, as the people using my survey would be using an iPad/phone and would benefit from having the larger, more distinct buttons. Any input or suggestions would be greatly appreciated! Thanks!

You can try this solution.
Just make sure to capture the final value on click of next button in embedded data


Leave a Reply