<input type="submit" onclick = "this.form.action='Hoja1.php'" /> <input type="submit" onclick = "this.form.action='Hoja2.php'" />