Perhaps one of the vars is empty, or misnamed, or such? Could you post the actual closeField handler? > Type replace: error in pattern expression > Object Contact Form > Line replace lOldText with lFieldText in lEquery > Hint closeField