http://www.w3resource.com/javascript/form/string-length.php
In the above link I see two different JS areas, Javascript function to restrict length of user input, & Javascript code. All I'm trying to do is validate that the users password of choice is at least x characters in length. Which one of these examples is what I'm looking for? Thanks.