I changed the code as requested but the behavior of the form doesn't appear to have changed. It resets the form, doesn't change it to the thank you page, and doesn't send an email.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.