replace form with a redirect