<html>
<head>
<title> Iscriviti </title>
</head>
<script type="text/javascript">

function controlloPsw() {
var pass1 = document.getElementById("pass1").value;
var pass2 = document.getElementById("pass2").value;

if (pass1 != pass2) {
alert("Le password non coincidono")
return false
}


</script>
<body>
<h1>Iscriviti subito!</h1>
<br>
<div id="Iscrizione">
<form action="stampaform.html" method="GET" >
<table border="0" cellspacing="5" cellpadding="5">
<tr>
<td>Nome:</td> <td><input type="text" name="nome" size="35"></td>
<td>Cognome:</td> <td><input type="text" name="cognome" size="35"></td>
</tr>
<tr>
<td>Data di nascita:</td> <td><input type="text" name="datanascita" size="35"></td>
<td>Nazione:</td> <td><input type="text" name="nazione" size="35"></td>
</tr>
<tr>
<td>Email:</td> <td><input type="text" name="email" size="35" ></td>
</tr>
<tr>
<td>Password:</td> <td><input type="password" name="password" id="pass1" size="35"></td>
</tr>
<tr>
<td>Ripeti Password:</td> <td><input type="password" name="rpassword" id="pass2" size="35"></td>
</tr>
<tr>
<td><input type="submit" value="Iscriviti" onclick="return controlloPsw()"></td>
<td><input type="reset" value="Reset Campi"></td>
</tr>
</form>
</table>



</div>
</body>










</html>