I have a block in a survey where I use fake next button Javascript to validate numeric entries in different fields before the respondent can move to the next page. (The beginning and end of the code is below.)
It's worked fine in all survey cycles to date. For the next survey cycle I'm trying to add a question to the block that is part of the validation but is only displayed under certain conditions. I edited the Javascript to incorporate the validation with the new question before I set up the Display Logic and it worked as expected. But once the Display Logic is added to the new question, the Next button is unresponsive.
I have workarounds that I can pursue, so I'm not looking for someone to provide an extensive programming solution. Mainly, since this is the type of thing unlikely to be documented, I'm just looking for confirmation from someone with programming experience whether or not Display Logic and fake next button Javascript are incompatible when the same question is referenced in both.
Solved
Is Display Logic compatible with Javascript for a Fake Next button?
Best answer by MatthewM
Thanks SurajK. My scenario is a little different from what you described, but I think I've now found a different way to set up this sequence of questions that won't require Javascript.
Also appreciate the time, TomG.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.