#108443Modal alert for required fields doesn’t name the affected field or tab
Description
*Description*
The modal alert shown for missing required fields is too generic: it does not mention the specific field nor its tab. With multiple errors, neither the count nor an overview is provided, making corrections cumbersome.
- Open a backend form with at least one required field.
- Leave at least one required field empty.
- Trigger “Save.”
- Observe the modal alert: message is generic, without field/tab names.
- Increased time to fix, as users must search for the failing field.
- Risk of incomplete or incorrect data remaining.
- Poor UX, especially in forms with many tabs/fields.
- Extend the validation collector to gather context: for each failing required field, determine field label and tab label.
- Message logic:
> * Exactly one error → include field and tab by name in the modal.
> * Multiple errors → include the error count n and optionally provide a list/link to an error overview.
- For a single error, the modal names the exact field label and tab.
- For multiple errors, the count n is shown; optionally provide a list or navigation hint.
- Saving with exactly one empty required field shows: “Please correct the required field ‘{FieldLabel}’ in tab ‘{TabName}’.”
- Saving with multiple empty required fields shows: “There are n required fields incomplete.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Modal alert for required fields doesn’t name the affected field or tab Resolves: #108443 Releases: main