What is the problem?
When there are more than two questions, if you click Use custom messages for column labels for the 3rd question it will check the box for the 2nd question.
This is because the id attribute of the <input> element is the same for the 2nd and 3rd (or later) questions.
Steps to reproduce problem
- Go to Special:SecurePoll/create
- For "Poll Type", select one of the 4 "range" types
- Click the "Add another question" button twice
- In the very last (3rd) question, click the label (not the checkbox itself) which states "Use custom messages for column labels"
Expected behavior: The checkbox next to it is checked
Observed behavior: The checkbox for question 2 is checked
Environment
Browser: Firefox 78
Wiki(s): SecurePoll 2.0.0 (5c73aa8) 07:40, 11 February 2021.