Thanks, Erel. I had moved the testing of the values against the mask into the activity_keypress method. Basically, if there is a mask for the field being edited, it calls the testing routine, if there is no mask, then it passes the keystroke through.