ho uno script che mi controlla un form e mi manda un messaggio di conferma se scelgo il pulsante modifica ! Ma vorrei aggiungere anche un messaggio di alert se un clicca sul pulsante "Elimina"

codice:
<SCRIPT language=JavaScript>
<!--
       function checkform() {

    var message = ""; // create error message string variable, with nothing in it

    if (document.newForm.titolo.value.length == 0) {
      message = message + "- Inserisci il TITOLO.\n";
      }

    if (document.newForm.sommario.value.length == 0) {
      message = message + "- Inserisci il SOMMARIO.\n";
      }
   
    if (document.newForm.sommario.value.length > 65000) {
      message = message + "- il SOMMARIO non può superare i 65000 caratteri.\n";
      }

    if ( message.length > 0 ) { // is there an error message?

        message = "Compila i seguenti campi per inserire le NOTE:\n\n" + message ;
        alert( message ); // display error message
      return false; // return bad, not ok to process
      }
     else {

      alert( "Le NOTE INFORMATIVE sono aggiornate." );
      return true; // no error message to display, return ok to process

      }

    } // end of the function checkform()

    //end hiding of JavaScript code -->
</SCRIPT>
<form method="POST" action="upload_note.asp" name="newForm" onsubmit="return checkform()" enctype="multipart/form-data">

<input name="submit" type="submit" class="bottonform" value="Modifica Nota">
<input name="submit" type="submit" class="bottonform" value="Elimina Nota">