Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: ocean10000
for each variable_name
what's the syntax if I have several check boxes named the same thing in a form, and I need to process however many that my user checks off.
Thanks! I'm having a real brain cloud!
i = 0
For each Item In Request.Form
i = i + 1
'***DON'T DO THIS ***
Response.Write(Request.Form.Key(Item) & " " & Request.Form(Item) & "<br>")
'***DO THIS INSTEAD ***
Response.Write(Request.Form.Key(i) & " " & Request.Form(Request.Form.Key(i)) & "<br>")
Or you'll get mismatched name/value pairs.