View Single Post
  #4 (permalink)  
Old April 30th, 2008, 11:08 AM
dparsons dparsons is offline
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

On your second page you can loop the entire Forms collection:

For x = 1 to Request.Form.Count
    'This is the form control name
    Response.Write Request.Form.Key(x) & " = "
    'This is the form control value
    Response.Write Request.Form.Item(x) & "<br>"
Next

In the case of a checkbox, if the checkbox is not ticked it will return an empty string otherwise it will return the value.

hth.
-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote