Questo è il codice della tabella con il form all'interno:
codice:
<body>
<form ACTION="<%=MM_editAction%>" method="POST" name="form_registrazione" id="form_registrazione" onSubmit="return Form1_Validator(this);">
<table width="800" height="150" border="1" align="center" >
<tr>
<td></td>
</tr>
</table><table width="800" height="400" border="1" align="center">
<tr>
<td width="96"></td>
<td width="295"> <table width="100%" height="311" border="1">
<tr>
<td width="35%" height="23">Dati registrazione</td>
</tr>
<tr>
<td width="35%" height="26">username</td>
<td width="65%"> <input name="username" type="text" id="username"> </td>
</tr>
<tr>
<td height="26">password</td>
<td><input name="password" type="text" id="password"></td>
</tr>
<tr>
<td height="26">ripeti password</td>
<td><input name="password2" type="text" id="password2"></td>
</tr>
<tr>
<td height="26">email</td>
<td><input name="email" type="text" id="email"></td>
</tr>
<tr>
<td height="26">ripeti email</td>
<td><input name="email2" type="text" id="email2"></td>
</tr>
<tr>
<td height="28">sesso</td>
<td><select name="sesso" id="sesso">
<option value=""></option>
<option value="uomo">uomo</option>
<option value="donna">donna</option>
</select></td>
</tr>
<tr>
<td height="26">data di nascita</td>
<td><input name="data_nascita" type="text" id="data_nascita2"> </td>
</tr>
<tr>
<td height="26">regione residenza </td>
<td> <select name="sel_reg" id="sel_reg" onChange="this.form.submit()">
<%
While (NOT rs_reg.EOF)
%>
<option value="<%=(rs_reg.Fields.Item("IDregione").Value)%>" <%If (Not isNull((rs_prov.Fields.Item("IDregione").Value))) Then If (CStr(rs_reg.Fields.Item("IDregione").Value) = CStr((rs_prov.Fields.Item("IDregione").Value))) Then Response.Write("SELECTED") : Response.Write("")%> ><%=(rs_reg.Fields.Item("regione").Value)%></option>
<%
rs_reg.MoveNext()
Wend
If (rs_reg.CursorType > 0) Then
rs_reg.MoveFirst
Else
rs_reg.Requery
End If
%>
</select> </td>
</tr>
<tr>
<td height="26">provincia residenza </td>
<td><select name="sel_prov" id="sel_prov">
<%
While (NOT rs_prov.EOF)
%>
<option value="<%=(rs_prov.Fields.Item("IDprovincia").Value)%>"><%=(rs_prov.Fields.Item("provincia").Value)%></option>
<%
rs_prov.MoveNext()
Wend
If (rs_prov.CursorType > 0) Then
rs_prov.MoveFirst
Else
rs_prov.Requery
End If
%>
</select></td>
</tr>
</table></td>
<td width="275"></td>
<td width="82"></td>
<td width="18"> </tr>
<input type="hidden" name="MM_insert" value="form_registrazione">
<input type="submit" name="Submit" value="Invia">
</p>
</form>
</body>
</html>
<%
rs_reg.Close()
Set rs_reg = Nothing
%>
<%
rs_prov.Close()
Set rs_prov = Nothing
%>
Ho fatto altre prove ma nulla non riesco a uscirne..... :master: