emperorshammer / issues-incoming-queue

This is the incoming issues queue for Internet Office-supported projects (sites and applications). Use this repository to request feature enhancements or report bugs.
5 stars 0 forks source link

TC Core IU Exam 'return key' bug #17

Closed SmTaUcM closed 2 years ago

SmTaUcM commented 3 years ago

LT RedBaron has identified a bug when taking the TC Core IU exam at: https://www.emperorshammer.org/test.php?id=122 Whereby pressing return for a new line whilst typing in certain text fields instantly submits the exam even though incomplete. Text field #9 is effected and reproduceable and I suspect other text fields will give the same result.

ajacksified commented 3 years ago

This isn't a bug, this is standard browser behavior: pressing enter in any non-multiline text box results in form submission. We should not break this behavior. I'd suggest: