On more than one occasion these characters  have turned up just when everything else seems fine.  Like a tiny weeney scratch on a new car, one that only you know about, these little bastards turn up and take the rest of the day to diagnose.  So what  is for?  cannot be smoked [...]

Continue reading about Three little characters  designed to make your life hell

Martyn on July 7th, 2008

To remove stuff such as punction and spaces (or anything you want) from a text box before sending to the server for validation you can use code like this, first the HTML:- <input name="name" onblur="this.value = entrycheck(this.value);" type="text" size="20"> And then the following Javascript will remove invalid characters when the user moves to another field:- [...]

Continue reading about Limiting text input to characters and digits