In Dreamweaver you will have to add the form data to the page you are applying the validation on. So on page2 you will go into the bindings panel and click on the "+" button. Then you will select form data and select page1 as the page to add the form data from. Then on page2 you will be able to validate on that form data and set the failed redirect to page1.