Tagged: password submit
- July 27, 2016 at 8:40 am #4638
I noticed that when a user tries to edit some of their info the pie_password_checker.js throws an error on submit due to an undefined variable – in this case the password field has an id of “field_2” instead of the “password_2” expected by the js validation.
I’ve looked through the code and this input field id is assigned programmatically, but I could not tell where it is defined or assigned with the literal “field_2”.
Is there a patch for this? or a workaround?
Thanks!July 27, 2016 at 4:18 pm #4640
Well, there is no such error with it with the latest version neither the profile edit section uses that reference js file for strength validation. So can you confirm what version of PR you’re using?
ThanksJuly 27, 2016 at 5:03 pm #4641
according to my plugins admin panel I’m using 2.0.21 and WP 4.5.3July 27, 2016 at 9:50 pm #4642
In case I have been using an older release, I just downloaded the zip file from this site. Then I deactivated the plugin and ftp’ed the new unzipped files and overwrote the existing files.
I noticed many of the new files did have a different file size so I was very hopeful – then I reactivated the pie plugin.
Then I checked the user_edit form with a demo user in an incognito browser window, but found the exact same issue with the id of the password field. It is set to id=”field-2″ instead of “password_2”. New screenshot:
Note that the password field in the new user registration page is correct. The error only occurs when a logged-in user tries to edit their profile data.July 28, 2016 at 3:50 pm #4652
The “field_2” is correct ID for the password field on profile edit and there is no error or warning regarding this, If you see a warning or error its more likely other plugin conflicting with the PR script.
ThanksJuly 28, 2016 at 8:46 pm #4654
Is there a separate validation for “field_2” that I’m missing?
Also, I have disabled all other plugins and still receive the error.
Keep in mind this is not on the initial registration page. This is occurring when a user updates their profile.July 29, 2016 at 3:22 pm #4655
That JS file doesnt use here to validate the field_2 (the confirm password field) on profile edit page. Can you post what error you see on the console? I am not able to reproduce this on my environment.
ThanksJuly 29, 2016 at 5:30 pm #4656August 1, 2016 at 3:13 pm #4659
Ok thanks for the updated info. We will debug on our dv environment and consider this to be fixed in our next release.
Thanks for your input to make PR a more usefull plugin.
You must be logged in to reply to this topic.