There are several ways to go about this and I find the easiest and best way to do this is to use either
ASP or
PHP with a database. If you do this then you will only have 1 page you can use Querystrings to retrieve data from the database to customize this page.
If this is not what you are looking for then I believe you can use JavaScript to change the form submit page.