codice:<form onSubmit="return validazione('INS');" name="INS" action="./Pagine_PHP/Inserimento_Utente.php" method="post"> Codice Cliente = <input type="text" name="ID_Cliente"> <font color="#FF0000" size="2">*</font> Username = <input type="text" name="User_Name"> <font color="#FF0000" size="2">*</font> Password = <input type="text" name="Password"> <font color="#FF0000" size="2">*</font> Codice Gruppo = <input type="text" name="ID_Gruppo"> Nome = <input type="text" name="Nome"> Cognome = <input type="text" name="Cognome"> E-Mail = <input type="text" name="EMail"> Numero Telefono = <input type="text" name="Numero_Telefono"> <input type="submit" value="Inserimento nuovo utente"> </form> <form onSubmit="return validazione("DEL_UT");" name="DEL_UT" action="./Pagine_PHP/Eliminazione_Utente.php" method="post"> Codice Cliente = <input type="text" name="ID_Cliente"> <font color="#FF0000" size="2">*</font> Username = <input type="text" name="User_Name"> <font color="#FF0000" size="2">*</font> <input type="submit" value="Eliminazione utente"> </form>Cosa devo mettere al posto dei puntini delle if perchè mi venga scelto il form da dove viene chiamato lo script e mi esegua solo le istruzioni all'interno dell'if?codice:function validazione(Stringa){ // Inserimento if(Stringa=='INS'){ with(document.INS){ if(ID_Cliente.value==""){ alert("ATTENZIONE! Inserire il codice del cliente!"); ID_Cliente.focus(); return false; }// if if(User_Name.value=="") { alert("ATTENZIONE! Inserire l'username!"); User_Name.focus(); return false; }// if if(Password.value=="") { alert("ATTENZIONE! Inserire la password!"); Password.focus(); return false; }// if }// with }// if - Inserimento // Eliminazione Utente if(...){ with(document.DEL_UT){ if(ID_Cliente.value==""){ alert("ATTENZIONE! Inserire il codice del cliente!"); ID_Cliente.focus(); return false; }// if if(User_Name.value=="") { alert("ATTENZIONE! Inserire l'username!"); User_Name.focus(); return false; }// if }// with }// if - Eliminazione Utente }