Alternately the easiest thing to do is to just have a separate thankyou template and page.