mode fields in grid and form