Would be a big help if you could provide a complete script(let), with Form and Textbox already created - as it is, we really dont have anything to cut & paste into.