Opened 9 years ago
Closed 9 years ago
#6928 closed enhancement
Improve error messaging on profile edit screens.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 2.4.0 |
Component: | Extended Profile | Keywords: | |
Cc: | dcavins |
Description
On the registration form, we provide specific error messages by adding text describing the problem above the problem fields. On a user's profile > edit screen, we only provide a blanket error banner: it either worked or failed.
It'd be great to add specific error messages to the profile edit screen. It also doesn't seem like it would a huge project, but it'd be helpful if we could discuss the best way to do it.
- Do we love passing error messages via
$bp->signup->errors[$field_name]
? - Would it make sense to handle the registration form and the profile edit screen using the same validation process so that you could handle validation for a field (like a ZIP code or phone number) and have it work in both places? (Although maybe the answer to that question is to add a "custom regex" meta for each field so it can be added via the wp-admin interface. But off topic.)
Thanks for your feedback.
Attachments (2)
Note: See
TracTickets for help on using
tickets.
Error banners on the registration screen are specific and helpful.