Custom Fields
Support MB User Profile [MB User Profile] Show password meter on registration form

  • Creator
  • #13150
    Resolved Content Pilot

    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?

Viewing 10 replies - 1 through 10 (of 11 total)
  • Author
  • #13211
    Content Pilot

    Any thoughts on this Ahn?

    Content Pilot

    I followed this tutorial on how to attach the strength meter to the form.–wp-34736

    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>';
    Anh Tran

    Hi Clayton,

    Thanks a lot for your solution. I’ll check it and add to the plugin.

    Anh Tran

    Hi Clayton,

    This feature is available in the latest version 1.2.0. Please update.



    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?


    Anh Tran

    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?


    Anh Tran

    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.

    Anh Tran

    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).

Viewing 10 replies - 1 through 10 (of 11 total)
  • You must be logged in to reply to this topic.


Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.

grid gear info copy caret-up caret-down trash