Hide next button until a link embedded in the question text is clicked; show next button again: | XM Community
Solved

Hide next button until a link embedded in the question text is clicked; show next button again:

  • 26 August 2019
  • 2 replies
  • 83 views

How do I hide next button until a link on my question is clicked? I was able to hide it for a specific time but what I want to do is this.

1. Hide next button upon loading the page/ question
2. Respondent clicks on a specific link embedded on the question text
3. Next button is activated again.

For instance, I need respondent to click on a T&C link. How do I ensure they do that before proceeding to next question?

Can this be done on Qualtrics using jquery? Also, does Qualtrics have any Python plugin?

Thanks!
icon

Best answer by suchandra 30 August 2019, 18:05

View original

2 replies

Userlevel 5
Badge +7
Sure @suchandra! Check out Qualtrics ' API question documentation. One of the options is .hideNextButton() which it sounds like you may have already used. Add this.hideNextButton() to the JS under the addOnload function on the question with your embedded link. Next, you need to add an event listener on the link itself so when the user clicks the link, it fires the listener, which you'll add the .showNextButton() API call to.
@tomG solved this issue for me:

https://www.qualtrics.com/community/discussion/comment/16815#Comment_16815

Leave a Reply