Ciao.

Ho un quesito semplicissimo: ci sono due bottoni che se cliccati devono fare la submit di due form diversi.

Il prblema è che non riesco a posizionare correttamente i tag di chiusura e quindi entrambi i bottoni lanciano la form1 anziché il primo la form1 e il secondo la form2.
Potete aiutarmi? Di sotto il codice, grazie!

codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <body>
      <div>
<form id="form1" action="../../GESTIONE/logout.php" method="post">
<form id="form2" action="../../GESTIONE/PASSWORD/password.php" method="get">

   <input type="image" name="DUMMY" 
onclick="document.getElementById(form1).form.submit();return false"
  src="../../COMMON/ICONS/GIF16/8deleteuser16.gif" title="Logout">
 
 <input type="image" name="DUMMY" 
onclick="document.getElementById(form2).form.submit();return false"
  src="../../COMMON/ICONS/GIF16/8lock16.gif" title="Cambio pwd"> 
  
</div>
  </body>
</html>