View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0021944 | mantisbt | ui | public | 2016-11-22 09:20 | 2026-01-27 04:42 |
| Reporter | mcmo | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 2.0.0-rc.1 | ||||
| Summary | 0021944: Show all errors at once on an incomplete webform | ||||
| Description | when several required fields are missing, the corresponding error messages appear each one after the other when submitting the issue report. | ||||
| Steps To Reproduce | 1- create a project with several required custom fields | ||||
| Tags | No tags attached. | ||||
| related to | 0006605 | new | Javascript form validation |
|
I have take some time to write a simple plugin for MantisBT that adds unobtrusive validation to the forms. https://github.com/barts2108/MantisBTUnobtrusiveValidation The plugin currently valdiates the report_bug_form and update_bug_form and only for the already required fields. The plugin adds a validate.rules.css file and 3 javascript files (jquery.validate.min.js, jquery.validate.unobtrusive.js, validate.rules.js) to the pages using two events. The validate.rules.css file can be used to format the validation errors. |
|
|
Conflicted with the BBCodePlus plugin, the edit palette is missing |
|
|
@amphetamine : I think I found the issue. A leading space before the <?php tag in the plugin. Will update soon. |
|