Hidden next button appears automatically when using the unstable or slowInternet. How to solve this? | XM Community
Skip to main content
Question

Hidden next button appears automatically when using the unstable or slowInternet. How to solve this?

  • May 11, 2022
  • 4 replies
  • 9 views

Forum|alt.badge.img+1

Hello everyone,
My requirement was to hide the next button and it appears upon a certain conditions. Everything is working perfectly as it's supposed to be.
But when we try to access the survey with unstable Internet, the hidden button appears automatically when it should remain hidden.
Any idea how to solve this?

4 replies

wpm24
Level 2 ●●
Forum|alt.badge.img+8
  • Level 2 ●●
  • May 11, 2022

Prasun20 Is your code for hiding the next button in the 'on load' section?


Forum|alt.badge.img+1
  • Author
  • May 11, 2022

wpm24 Yes. It's under 'Qualtrics.SurveyEngine.addOnload' section. Tried to move the code to 'onReady' but it didn't worked too.


wpm24
Level 2 ●●
Forum|alt.badge.img+8
  • Level 2 ●●
  • May 11, 2022

Forum|alt.badge.img+1
  • Author
  • May 12, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/46207#Comment_46207wpm24 Thanks. This was a nice fix and after playing around with padding values, I got to move the next button out of the user's view. Earlier I was using top padding only and it was not working and then I used even padding. Thanks a lot for the pretty clever hack.