Password strength meter is not working in magento 2Customer_Register_Success Event Not workingForgot password API is not working in magento 2.xMagento 2 Add new field to Magento_User admin formConfirm Password Validation Not WorkingSelling Products by Linear Meter and Square MeterPassword Strength Meter - Uncaught TypeError: Cannot read property 'toLowerCase' of undefinedMagento2 : Add Password strength meter in login formHow do I translate the “Password Strength” , and other texts on Create new AccountLogin form validation is working but other forms validation is not workingMagento2 Password Reset Query Not working

Cat files in subfolders in order given by a list

Tricolour nonogram

Why am I getting an electric shock from the water in my hot tub?

Angle Between Two Vectors Facing A Point

Is there a word for the act of simultaneously pulling and twisting an object?

Simplify the code

Is it OK to say "The situation is pregnant with a crisis"?

What does this Pokemon Trainer mean by saying the player is "SHELLOS"?

What happens if a caster is surprised while casting a spell with a long casting time?

What prevents a US state from colonizing a smaller state?

Disk usage confusion: 10G missing on Linux home partition on SSD

Which high-degree derivatives play an essential role?

Avoiding repetition when using the "snprintf idiom" to write text

iMac 2019: Can I mix the old modules with the new ones when upgrading RAM?

Installed software from source, how to say yum not to install it from package?

Identifying positions of the last TRUEs in a sequence of TRUEs and FALSEs

Can I deep fry food in butter instead of vegetable oil?

Odd PCB Layout for Voltage Regulator

What's the lunar calendar of two moons

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

Are you required to spend hit dice to take a short rest?

Is it possible to alias a column based on the result of a select+where?

tikz: draw multicolor curve with smooth gradient

Enterprise Layers and Naming Conventions



Password strength meter is not working in magento 2


Customer_Register_Success Event Not workingForgot password API is not working in magento 2.xMagento 2 Add new field to Magento_User admin formConfirm Password Validation Not WorkingSelling Products by Linear Meter and Square MeterPassword Strength Meter - Uncaught TypeError: Cannot read property 'toLowerCase' of undefinedMagento2 : Add Password strength meter in login formHow do I translate the “Password Strength” , and other texts on Create new AccountLogin form validation is working but other forms validation is not workingMagento2 Password Reset Query Not working













0















i want translate data-msg-required



I used data-msg-required="..." like this in register.phtml



<div class="field password required">
<label for="password" class="label"><span><?= $block->escapeHtml(__('Password')) ?></span></label>
<div class="control">
<input type="password" name="password" id="password"
title="<?= $block->escapeHtmlAttr(__('Password')) ?>"
class="input-text"
data-password-min-length="<?= $block->escapeHtmlAttr($block->getMinimumPasswordLength()) ?>"
data-password-min-character-sets="<?= $block->escapeHtmlAttr($block->getRequiredCharacterClassesNumber()) ?>"
data-validate="required:true, 'validate-customer-password':true"
data-msg-required="Dies ist ein Pflichtfeld."
autocomplete="off">
<div id="password-strength-meter-container" data-role="password-strength-meter" aria-live="polite">
<div id="password-strength-meter" class="password-strength-meter">
<?= $block->escapeHtml(__('Password Strength')) ?>:
<span id="password-strength-meter-label" data-role="password-strength-meter-label">
<?= $block->escapeHtml(__('No Password')) ?>
</span>
</div>
</div>
</div>
</div>


It work, but Password strength meter not work. If i delete it, Password strength meter work, please help me.










share|improve this question


























    0















    i want translate data-msg-required



    I used data-msg-required="..." like this in register.phtml



    <div class="field password required">
    <label for="password" class="label"><span><?= $block->escapeHtml(__('Password')) ?></span></label>
    <div class="control">
    <input type="password" name="password" id="password"
    title="<?= $block->escapeHtmlAttr(__('Password')) ?>"
    class="input-text"
    data-password-min-length="<?= $block->escapeHtmlAttr($block->getMinimumPasswordLength()) ?>"
    data-password-min-character-sets="<?= $block->escapeHtmlAttr($block->getRequiredCharacterClassesNumber()) ?>"
    data-validate="required:true, 'validate-customer-password':true"
    data-msg-required="Dies ist ein Pflichtfeld."
    autocomplete="off">
    <div id="password-strength-meter-container" data-role="password-strength-meter" aria-live="polite">
    <div id="password-strength-meter" class="password-strength-meter">
    <?= $block->escapeHtml(__('Password Strength')) ?>:
    <span id="password-strength-meter-label" data-role="password-strength-meter-label">
    <?= $block->escapeHtml(__('No Password')) ?>
    </span>
    </div>
    </div>
    </div>
    </div>


    It work, but Password strength meter not work. If i delete it, Password strength meter work, please help me.










    share|improve this question
























      0












      0








      0


      1






      i want translate data-msg-required



      I used data-msg-required="..." like this in register.phtml



      <div class="field password required">
      <label for="password" class="label"><span><?= $block->escapeHtml(__('Password')) ?></span></label>
      <div class="control">
      <input type="password" name="password" id="password"
      title="<?= $block->escapeHtmlAttr(__('Password')) ?>"
      class="input-text"
      data-password-min-length="<?= $block->escapeHtmlAttr($block->getMinimumPasswordLength()) ?>"
      data-password-min-character-sets="<?= $block->escapeHtmlAttr($block->getRequiredCharacterClassesNumber()) ?>"
      data-validate="required:true, 'validate-customer-password':true"
      data-msg-required="Dies ist ein Pflichtfeld."
      autocomplete="off">
      <div id="password-strength-meter-container" data-role="password-strength-meter" aria-live="polite">
      <div id="password-strength-meter" class="password-strength-meter">
      <?= $block->escapeHtml(__('Password Strength')) ?>:
      <span id="password-strength-meter-label" data-role="password-strength-meter-label">
      <?= $block->escapeHtml(__('No Password')) ?>
      </span>
      </div>
      </div>
      </div>
      </div>


      It work, but Password strength meter not work. If i delete it, Password strength meter work, please help me.










      share|improve this question














      i want translate data-msg-required



      I used data-msg-required="..." like this in register.phtml



      <div class="field password required">
      <label for="password" class="label"><span><?= $block->escapeHtml(__('Password')) ?></span></label>
      <div class="control">
      <input type="password" name="password" id="password"
      title="<?= $block->escapeHtmlAttr(__('Password')) ?>"
      class="input-text"
      data-password-min-length="<?= $block->escapeHtmlAttr($block->getMinimumPasswordLength()) ?>"
      data-password-min-character-sets="<?= $block->escapeHtmlAttr($block->getRequiredCharacterClassesNumber()) ?>"
      data-validate="required:true, 'validate-customer-password':true"
      data-msg-required="Dies ist ein Pflichtfeld."
      autocomplete="off">
      <div id="password-strength-meter-container" data-role="password-strength-meter" aria-live="polite">
      <div id="password-strength-meter" class="password-strength-meter">
      <?= $block->escapeHtml(__('Password Strength')) ?>:
      <span id="password-strength-meter-label" data-role="password-strength-meter-label">
      <?= $block->escapeHtml(__('No Password')) ?>
      </span>
      </div>
      </div>
      </div>
      </div>


      It work, but Password strength meter not work. If i delete it, Password strength meter work, please help me.







      magento2 register






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 23 at 13:32









      TN98TN98

      17610 bronze badges




      17610 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Should the required in data-validate be in quotes?



          data-validate='"required":true' data-msg-required="whatever"





          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f279293%2fpassword-strength-meter-is-not-working-in-magento-2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Should the required in data-validate be in quotes?



            data-validate='"required":true' data-msg-required="whatever"





            share|improve this answer



























              0














              Should the required in data-validate be in quotes?



              data-validate='"required":true' data-msg-required="whatever"





              share|improve this answer

























                0












                0








                0







                Should the required in data-validate be in quotes?



                data-validate='"required":true' data-msg-required="whatever"





                share|improve this answer













                Should the required in data-validate be in quotes?



                data-validate='"required":true' data-msg-required="whatever"






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 23 at 19:59









                Dominic XigenDominic Xigen

                2,2151 gold badge3 silver badges14 bronze badges




                2,2151 gold badge3 silver badges14 bronze badges



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f279293%2fpassword-strength-meter-is-not-working-in-magento-2%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form