You know the problem from weblog’s, forums and guestbook’s: Extra long strings with more than “x” same characters in order. The result is an element width which will distort your website. This function takes care of this kind of string (for example multiple chars or explanation marks). The formatted string is be shortened to the amount of characters you specify. Continue reading Prevent posting of long strings
Tag: regex
Using jQuery for validations on a registration page
In this tutorial well be using a number of jQuery functions to create a registration page with validations for: Username availability, Password match and Email validation. Continue reading Using jQuery for validations on a registration page