The form may not be being referenced correctly using the forms array. Try changing forms[0] to form1 and see if that validates correctly. If that doesn't work, could you attach the page containing your form and the thank you page as well?
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.