How to count the number of times a custom button is pressed? | XM Community
Skip to main content

In the question, I have a custom button that the user can click an infinite number of times.

The myFunction() is a custom function that displays text when the button is clicked. How do I record into qualtrics the number of the times the button is clicked ?
I have tried the following:
Putting the following within the

Scanning file for viruses.

Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.

OK

This file cannot be downloaded

Sorry, our virus scanner detected that this file isn't safe to download.

OK