Support Forum
Support › MB User Profile › [MB User Profile] Show password meter on registration formResolved
Is it possible to show the password strength indicator on the registration form?
Looking through the shortcode source code this doesn't look possible nor do I see it on the available MB fields if I roll my own form.
Could this be added?
Any thoughts on this Ahn?
I followed this tutorial on how to attach the strength meter to the form.
I also add this function to echo the span for the JS to bind to.
add_action( 'rwmb_profile_before_submit_button', 'password_strength_meter_field' );
function password_strength_meter_field( $config ) {
if ( 'register-form' === $config['form_id'] ) {
echo '<span id="password-strength"></span>';
}
}
Hi Clayton,
Thanks a lot for your solution. I'll check it and add to the plugin.
Hi Clayton,
This feature is available in the latest version 1.2.0. Please update.
Hello,
When I make a register, I see strong levels of the password:
Very weak = Is disabled the button register
Medium = Is disabled the button register
Strong = Is enabled the button register
The Strong password is the only level that users can make a register. Exist any way to make posible to the register with the level medium too?
Thanks,
Sergio
Hi Sergio,
Unfortunately, users are required to have strong password. There's no way to set the level to "medium" at the moment.
ok thanks, and remove this feature, remove this action so it does not ask for any kind of password strength? Or is not posible too?
Thanks.
That's a good question. It's not available at the moment. I'll try to add another shortcode attribute to make it disable or able to set which password strength is acceptable.
It would be great, thanks.
Added password_strength
parameter in the latest version 1.3.0, which indicates the minimum required password strength (can be very-weak, weak, medium or strong).
Ahn, this is very close. Thanks for adding it. It is working well for the first password field but does not use the Mismatch flag when working with two password fields. On my end, I have 2 password fields and put in matching strong passwords then added a few extra characters. The meter did not change to inform me that they are mismatched.