Archived issue #0024638
Bug tracker - if category is not checked than Submit Report would lead to lost input
Description
There are several mandatory fields in Report Issue form (Category, Summary, Description), however them don't checked dynamically.
Instead an error reported right after pushing Submit Report button, which leads to completely lost input in most browsers (and broken keyboard as result).
Instead an error reported right after pushing Submit Report button, which leads to completely lost input in most browsers (and broken keyboard as result).
Public activity
5 archived notes
Participants are labeled by their role within this record.
Notice that this issue has been observed using new field to switch project, which apparently resets form content.
As it is too complicated for current version of MantisBT to implement the behavior that we wish (restore all fields if an error occurred and show this error at the top of the same page), I propose:
* to disable field "Project Name" when any other field on this form is modified
* check mandatory fields using JavaScript before sending the form
* make field "Project Name" focused initially, instead of "Category" - I believe it helps users pay attention on the project they would like report to and do not be discouraged when this field becomes disabled.
* to disable field "Project Name" when any other field on this form is modified
* check mandatory fields using JavaScript before sending the form
* make field "Project Name" focused initially, instead of "Category" - I believe it helps users pay attention on the project they would like report to and do not be discouraged when this field becomes disabled.
>Notice that this issue has been observed using new field to switch project, which apparently resets form content.
kgv, could you please try to test it now (switch project while report a new bug, with form data filled). Will it work for you?
kgv, could you please try to test it now (switch project while report a new bug, with form data filled). Will it work for you?
It looks OK now, though I have not tried to create bug.
Resolved, namely:
* check if fields Category, Summary, Description are not empty before send a form
* all input data is saved until the form is not pushed successfully or browser window/tab closed.
* check if fields Category, Summary, Description are not empty before send a form
* all input data is saved until the form is not pushed successfully or browser window/tab closed.