Io uso questo sistema:
1)il form dinamico:
codice:
<form name="form1" method="post" action="pagina.asp">
<%
Voto = 1
NumRec = 1
if not objrs.eof then
Do until objrs.eof
%>
<input name="campo<%=Voto%>" type="text" maxlength="3" size="2">
<%
Voto = Voto + 1
NumRec = NumRec + 1
objrs.movenext
loop
end if
%>
<input type="hidden" name="records" value="<%=NumRec - 1%>">
<input name="registra" type="submit" value="Vota">
</form>
2)Ecco come recupero i dati:
codice:
<%
'recupera il numero di opzioni previste
Voti = Request.form("records")
For i = 1 to Voti
myVarVoto = "voto" & CStr(i)
myVarVoto = Request.Form(myVarVoto)
response.write("Valore del campo" & i & " --> " & myVarVoto)
Next 'fine ciclo
%>
Spero possa esserti di aiuto.