Ah okay, thanks for the tip slacker, the on text event worked, but are you sure $regml(2) is right? It didn't work for me.