I had a similar problem but fixed it (albeit in a hacky way) by putting the code inside a timer See https://www.qualtrics.com/community/discussion/comment/37570#Comment_37570
I had previous tried it in both and had the same problemAnyway thanks! because I thought about what you said about timings and wrote this which fixes (or papers over) the problem. Hacky as hell but works :)
Found a fix albeit a really hacky one. This makes sure that the CSS gets overidden
Ah okay my bad. Wouldn't have thought timings would have been involved in something as simple as Qualtrics.SurveyEngine.addOnload(function(){ var NextButton = document.getElementById("NextButton"); NextButton.style.display = "block";});I shall brush up on my javascript! :)
Are we 100% sure validation reloads the whole page? I'm very much a javascript noob but I also spoke to support and was also told that the entire page doesn't reload.Also if the javascript functions executed again i don't think i'd have my own problem where css overrides javascript after a validation error ...
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.