Added onEditField event