Bug #1489
Weird bug about 'mandatory' question when hitting enter in survey
Status: | Resolved | Start date: | 2015-12-08 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | - | |||
Target version: | - |
Description
Had this a few times: I respond to this mandatory question (post-test, 'what is the genre'), I hit enter, and it shows me the 'this question is mandatory' error a few times. See also console log (might be due to some questions/radio buttons among the 'comment boxes'?).
Just using the example project.xml again.
Related issues
History
#1
Updated by Nicholas Jillings about 9 years ago
This should be fixed along with bug #1490, the problem was the binding for capturing the enter key presses was being added each time the popup was being created, but not cleared. So at the beginning for the preTest you have enter = 1 'button click' for proceed, then do the test. Then the post-test of the first page adds another bind so hitting enter = 2 'button clicks' and so on. At the end it actually hits an error because a radio button cannot be empty (it can rather I need to allow the response to be empty).
#2
Updated by Nicholas Jillings about 9 years ago
- Related to Bug #1490: Hitting enter after radio button question skips next survey element added
#3
Updated by Nicholas Jillings about 9 years ago
- Status changed from New to Resolved