populate form values for redisplay