I have a variable number of checkboxes on my form which I submit to a formhandler. I used the formhandler ok but I need to add a hidden field to the form which I've done but I'm unsure how I read this hidden field out on my form handler as it reads ok but is repeated in the for/next loop and I wanted to read this in seperately to be displayed eslewhere on my formhandler page.
My formhandler has the following code;
Dim checkbox(100,2)
response.Write "Hidden Field=" & Request.Form(1) & "<br><br><br>"
For Each x in Request.Form
i = i + 1
checkbox(i,0)=x
checkbox(i,1)=Request.Form(x) ' This contains the actual price of the option
response.Write ("Description Of Selected Option=") & checkbox(i,0) & ("<br>")' Description Of Selected Option/Checkbox
response.Write ("Price Of Selected Option=") & checkbox(i,1) & "<br><br>"
Next
If it helps my original problem started out as thread216-1011007
My formhandler has the following code;
Dim checkbox(100,2)
response.Write "Hidden Field=" & Request.Form(1) & "<br><br><br>"
For Each x in Request.Form
i = i + 1
checkbox(i,0)=x
checkbox(i,1)=Request.Form(x) ' This contains the actual price of the option
response.Write ("Description Of Selected Option=") & checkbox(i,0) & ("<br>")' Description Of Selected Option/Checkbox
response.Write ("Price Of Selected Option=") & checkbox(i,1) & "<br><br>"
Next
If it helps my original problem started out as thread216-1011007