[buddypress-trac] [BuddyPress Trac] #5595: XProfile: Required fields do not show error message on failure

buddypress-trac noreply at wordpress.org
Fri Apr 25 22:52:03 UTC 2014


#5595: XProfile: Required fields do not show error message on failure
--------------------------+-----------------------
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.0.1
Component:  XProfile      |    Version:  2.0
 Severity:  major         |   Keywords:  has-patch
--------------------------+-----------------------
 Reported here:
 http://buddypress.org/support/topic/registration-form-with-extended-
 fields-required-fields-left-blank-issue/

 Steps to duplicate:
 - Navigate to "Register" page
 - Leave the "Name" xprofile field blank
 - Submit the form
 - No error message is shown

 On BP 1.9, a `"This is a required field"` message was shown when a
 required field isn't filled out.  BP 2.0 does not show this message.

 The problem appears to be the omission of the `<?php do_action(
 bp_get_the_profile_field_errors_action() ); ?>` hook when rendering the
 HTML for the fields.

 Attached patch adds these hooks during the xprofile field HTML generation.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5595>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list