Comments (11)
If I have understood your problem, what you need to do is to call the plugin only on the actual password input, instead of on both of them.
http://jsbin.com/vobixamaha/1/edit?html,js,output
Hope that helps. If not, feel free to reopen the issue.
from jquery.pwstrength.bootstrap.
@ablanco yes you have understood my problem correctly. But one this is just I need to display this progress bar when typing actual password not confirm password.
Is it possible to do?
Thank you.
from jquery.pwstrength.bootstrap.
In the link I put in my previous comment, the progress bar only updates when the user types in the actual password field, not the confirm one.
from jquery.pwstrength.bootstrap.
yes.. its correct. but problem is I need to display this progress bar below the conform password field. Is it possible?
from jquery.pwstrength.bootstrap.
Yes it is. You have to add a container under the confirm password, and pass a reference (or a selector) to the plugin using the viewport options. You can find more details about that option in the readme.
from jquery.pwstrength.bootstrap.
There is another problem. It is, if an user can not create a strong password then he/she can create a computer generated password. Check my JSBin. There are two buttons one for generate the password and other one is to use the generated password. When this "use password" button click on the generated password is autofillling to my actual and confirm password fields. These are working for me.
But my problem is when updating this generating password then its progress bar is not working.
This is working for copy/paste and typed password, but not working for auto complete.
Hope you may help me out.
Thank You.
from jquery.pwstrength.bootstrap.
The strength meter listen to some events to update itself. When you change the content through JS no event is fired, and that's why it doesn't update. You have to manually trigger the event. Do something like this in your code, just after changing the input value: $('#password').trigger('keyup');
from jquery.pwstrength.bootstrap.
One problem is solved. But last one is still reaming. This is my updated JSbin -
http://jsbin.com/miyifufeza/1/edit
UPDATE :
According to your last comment I tried but then its not working at all
http://jsbin.com/vayitaxofo/1/edit?html,js,output
from jquery.pwstrength.bootstrap.
http://jsbin.com/zinuvomeqe/1/edit?html,js,output
I added the line that triggers the event after updating the password field content.
from jquery.pwstrength.bootstrap.
Thank you very much for your help. Since I am new to jquery its hard to understand that particular code..
from jquery.pwstrength.bootstrap.
You are welcome. jQuery is easy, you will be up to speed in no time :)
from jquery.pwstrength.bootstrap.
Related Issues (20)
- Popover: Cannot set property 'content' of undefined HOT 5
- Password with consecutive same chars VERY STRONG ?? HOT 1
- Bootstrap 4 Colours HOT 1
- closest container HOT 1
- container for Verdicts [feature suggestion] HOT 1
- progress bar color doesn't change in bootstrap3 - option not being checked properly HOT 2
- Default rules patterns HOT 1
- No method named "destroy" HOT 3
- ruleIsMet does not work with custom rules HOT 2
- A 15+ character password is marked as strong even though it does not meet requirements. HOT 5
- Special Char Validation doesn't recognize certain special characters HOT 2
- 3.0.5 broke package import HOT 3
- No default jsDelivr CDN file set HOT 1
- Prevent submission if password is weak HOT 4
- Long character will result in Very Strong verdict HOT 2
- Different positioning of progressbar HOT 6
- Progress div is created multiple times HOT 2
- jQuery.isFunction() is deprecated HOT 1
- Doesn't respect specialCharClass HOT 2
- Using strength meter in bootstrap modal and destroy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.pwstrength.bootstrap.