# Bootstrap 4 Password Strength Meter Example - Interact with Other Inputs

Username
Password

    jQuery(document).ready(function () {
        "use strict";
        var options = {};
        options.ui = {
            container: "#pwd-container",
            showVerdictsInsideProgressBar: true,
            viewports: {
                progress: ".pwstrength_viewport_progress"
            }
        };
        options.common = {
            debug: true,
            usernameField: "#username"
        };
        $(':password').pwstrength(options);
    });

Go back