PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

"Password Strength" Indicator not changing when passwords are being entered

  1. viaForensics
    Member

    Hi,

    I've updated our Gravity Forms, as well as the User Reg and Highrise add-ons. Since then, my registrations are working correctly, but when a user gets to the 'create a password' screen and types in a password, the "Password Strength" box doesn't change. It stayes greyed out. If I modify the password strength requirements from "None" to "Bad", "Good" or "Strong", the user isn't able to create an account because it won't accept their password (since it doesn't recognize the strength of the password, therefore we can't enforce it and it won't allow it).

    I'm using WordPress 3.3.1, Gravity Forms 1.6.5.1, Highrise 2.5, and User Registration 1.4.

    Thanks,

    Kevin

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  2. Can you post a link to your site please? It's most likely a JavaScript or jQuery conflict causing the problem, but we will need to see it live.

    Does the password strength work OK in the form preview? If so, you can start ruling out plugin and theme conflicts by following these instructions http://rkt.gs/testing

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  3. viaForensics
    Member

    https://viaforensics.com/register/?p=access

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  4. viaForensics
    Member

    It does work in preview

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  5. If it works in preview mode, have you followed the instructions to test for theme and plugin conflicts? http://rkt.gs/testing

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  6. I went through both pages of the registration form and I did not see the password strength meter at all. I am using Firefox 14 on Windows 7. Can you tell me where I should have seen that? Here's a screenshot of what I saw: http://minus.com/mbqurxbjmG/

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  7. viaForensics
    Member

    sorry, i disabled it to allow users to register while we had the issue. I've created a secondary page at https://viaforensics.com/site-registration-2/ that has the same setup with the password strength requirement added in. It's currently set to "good" strength requirement.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  8. This is what is causing the problem:

    Timestamp: 8/7/2012 7:27:11 PM
    Error: TypeError: window.gf_text is undefined
    Source File: https://viaforensics.com/wpinstall/wp-content/plugins/gravityforms/js/gravityforms.js?ver=1.6.5.1
    Line: 508

    That error points to the reason why password strength meter is not working. However, I'm not sure why you have that error. Seems like there is a mismatch between the WordPress address, Site address and the WordPress install directory? The domain is here https://viaforensics.com/ , the form is here https://viaforensics.com/site-registration-2/ but the install directory is here https://viaforensics.com/wpinstall/ - I have a feeling that is part of the problem.

    Can you take a screenshot of this page:
    https://viaforensics.com/wpinstall/wp-admin/options-general.php where the WordPress address (URL) and Site address (URL) are set.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  9. viaForensics
    Member

    tried to post ss but wasn't working. here are the settings:

    WordPress address: https://viaforensics.com/wpinstall
    Site Address: https://viaforensics.com

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  10. You can't attach images here directly. You have to use an external image hosting site and post the link to the image here. However, I think this information is enough. Let me look into why this might be happening.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  11. viaForensics
    Member

    Thanks Chris, I appreciate the help. Look forward to hearing back.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  12. After looking at it a little more, it's just a configuration I'm less familiar with (the site URL and WordPress URL not being the same) but I don't think that's part of the problem any more. Seems like there is a JavaScript or jQuery error which is preventing the gf_text window from being defined. Can you please test for a plugin or theme conflict by following these instructions?

    http://rkt.gs/testing

    Thank you.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  13. viaForensics
    Member

    I tested twenty eleven and the password strength meter worked, therefore It's a theme conflict

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  14. OK, that's good to know. Have you looked into why that might be? Typical reasons are including the wrong version of jQuery, including it multiple times, or including it in the footer of the page rather than the header. It looks like your theme is doing at least two of those.: the jQuery is being included in the footer, and it's loading the latest jQuery from Google API. Compare that to how Twenty Eleven includes jQuery and I think you might be on to something.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  15. Also, you have a PHP error in your footer:

    <p>Copyright &copy; <?= date('Y') ?> viaForensics&trade;. All Rights Reserved.</p>

    That should look like this:

    <p>Copyright &copy; <?php echo date('Y'); ?> viaForensics&trade;. All Rights Reserved.</p>
    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  16. viaForensics
    Member

    Thanks Chris, I'll check into it (and thanks for the PHP catch, too). I'll let you know what I find.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  17. viaForensics
    Member

    Both worked like charms. Moved the jQuery from footer to header and reg form and password strength meter are back to normal. Thanks for the help.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  18. You're welcome. Glad you were able to resolve that, despite my false start. Thank you for the update.

    Posted 12 years ago on Thursday August 9, 2012 | Permalink

This topic has been resolved and has been closed to new replies.