[buddypress-trac] [BuddyPress Trac] #6928: Improve error messaging on profile edit screens.
buddypress-trac
noreply at wordpress.org
Wed Feb 24 16:55:13 UTC 2016
#6928: Improve error messaging on profile edit screens.
----------------------------------+-----------------------------
Reporter: dcavins | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Component - XProfile | Version: 2.4.0
Severity: minor | Keywords:
----------------------------------+-----------------------------
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6928>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list