Varma_LC,Thanks for the information. However, I want to be clear as to what code is firing in which events. 1. There is a Reg Exp in the change event that watches the xfa.event.newText. That limits the user to digits only. In this code there is also another Reg Exp that looks for the a 5 digit run o...