Reply To: How to throw custom error message when a user registers?
Hello, while I’ve gotten the site to fail a registration with an incorrect number using what you suggested above, it doesn’t display any error message of sorts. My line is: $bp->signup->errors['invalid_number'] = __( 'Please enter a valid phone number', 'buddypress' ); This is in my bp-custom.php class, in the function that gets added to the hook bp_signup_validate, when an incorrect phone number is determined. The site properly fails a registration with an incorrect number, while allowing registration with a correct one, but it doesn’t display any error pop up at all, even though I included an error message of sorts with the latter half of the line. Is this a code issue, or could this potentially be a theme issue? I’m using the Spacious theme if this helps