> <textarea onKeyPress="return ( this.value.length < 50 > );"></textarea> Put 51 characters in the Windows buffer. Place the mouse in the textarea. Right-click. Select Paste. You now have 51 characters in your textarea. Hershel