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 of entries so that it can place the hyphen after the 5th
digit. 2. The "validation" happens in the exit event. If I am
understanding you correctly the value of the entry does not get set into
the field...