Salve, qualcuno potrebbe aiutarmi nell'inserire dei campi obbligatori nel mio form?
Ci ho provato in tutti i modi ma proprio non ci riesco...
lo ammetto non sono molto brava ma prima o poi imparerò.
vi mando un esempio di form
<html>
<head>
<style>
A.redblu:link { color:rgb(204,0,0); text-decoration:none; }
A.redblu:visited { color:rgb(204,0,0); text-decoration:none; }
A.redblu:active { color:rgb(204,0,0); text-decoration:none; }
A.redblu:hover { color:rgb(10,80,161); text-decoration:none; }
</style>
<title>Richiedi Password</title>
<%=KeyW%>
</head>
<body <%=bgcolor%><%=background%><%=bglink%><%=bgvlink%> <%=bgmargin%>>
<div align=left><center>
</center></div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="570" height="400">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="570">
<tr height="20">
<td height="20"></td>
</tr>
<tr height="2">
<td height="2" bgcolor="#0a50a1"></td>
</tr>
<tr height="20">
<td bgcolor="#bedcf0" height="20">
<div align="center">
<font face="Verdana" size="3" color="#0a50a1">Hai dimenticato la Password?</font></div>
</td>
</tr>
<tr height="10">
<td height="10"></td>
</tr>
<tr>
<td><font size="2" face="Verdana">Hai dimenticato la tua User-ID o la password ?</font><font face="Verdana">
</font>
<div align="justify">
<font face="Verdana" size="2">Compila il form sottostante specificando l'indirizzo e-mail presso il quale sarai contattato.</font></div>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="570">
<tr height="25">
<td height="25" colspan="2">
<form method="post" action="/Mailpassword.asp" name="validazione" ENCTYPE="multipart/form-data" >
</td>
</tr>
<tr height="25">
<td height="25" width="200">
<div align="right">
<font face="Verdana">Nome:</font></div>
</td>
<td height="25"><input type="text" name="nome" size="15"></td>
</tr>
<tr height="25">
<td height="25" width="200">
<div align="right">
<font face="Verdana">Cognome:</font></div>
</td>
<td height="25"><input type="text" name="cognome" size="15"></td>
</tr>
<tr height="25">
<td height="25" width="200">
<div align="right">
<font face="Verdana">Città:</font></div>
</td>
<td height="25"><input type="text" name="citta" size="15"></td>
</tr>
<tr height="25">
<td height="25" width="200">
<div align="right">
<font face="Verdana">E-Mail:</font></div>
</td>
<td height="25"><input type="text" name="email" size="20"></td>
</tr>
<tr height="25">
<td height="25" colspan="2">
<div align="left">
<font face="Verdana" size="2">Indica se hai perso la User-ID o la Password:</font></div>
</td>
</tr>
<tr>
<td width="200"></td>
<td><select size="1" name="smarrita">
<option>User-ID</option>
<option>Password</option>
</select></td>
</tr>
<tr height="20">
<td width="200" height="20"></td>
<td height="20"></td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<font face="Arial" color="#101077"></font><input type="submit" name="invia" value="Conferma ed Invia">
<input type="reset" value="Reimposta" name="B2"></font></small></form></div>
</td>
</tr>
<tr height="20">
<td colspan="2" height="20"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="570">
<tr height="2">
<td bgcolor="#0a50a1" height="2"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="570">
<tr height="10">
<td height="10"></td>
</tr>
<tr>
<td>
<div align="center">
<font face="Verdana" size="2" color="#cc0000">Torna alla Home</font></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</p>
</body>
</html>
grazie mille