Opened 12 years ago
Closed 12 years ago
#4978 closed defect (bug) (fixed)
Multiselect box on registration page does not show error if required
Reported by: | dcrabill | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.8 | Priority: | low |
Severity: | minor | Version: | 1.7 |
Component: | Extended Profile | Keywords: | needs-patch |
Cc: |
Description
In bp-xprofile-template.php on line 385, the string '[]' gets added to the field name for the multiselect box. I'm not sure why it's necessary to indicate it's an array, but it breaks the error message functionality.
If the multiselect box is required but the user does not complete it, then the error is correctly placed in $bp->signup->errors, but under the field name only (without the '[]' appended). The error never shows on the page, but the user is still prevented from signing up.
Change History (2)
Note: See
TracTickets for help on using
tickets.
It does seem odd that we need the []. The original ticket is here: http://buddypress.trac.wordpress.org/ticket/2173
I'm going to need to research it more to determine the best course of action. Moving to 1.8 in the meantime.