Original Code From Reservation System Plugin

Here’s the code. I used “swr” to make the id’s unique where required so it wouldn’t conflict with the WP core code; it stands for SunriseWeb Reservations – because I implemented it originally in a Reservations system plugin.

php/HTML (sample)

It will depend on your implementation how you do this exactly, but of course you’ll have the full form – not just the user name and password fields – I included these because they are the only ones needed for the strenth indicator scripts.