Sep 25, 2002 #1 scc Programmer Joined Apr 30, 2001 Messages 218 Location US Is is possible to iterate through the names (not the values) of the individual objects on the Form that passed info via the Request.Form object? If so, how would I write this? Sorry, but new at ASP...
Is is possible to iterate through the names (not the values) of the individual objects on the Form that passed info via the Request.Form object? If so, how would I write this? Sorry, but new at ASP...
Sep 25, 2002 1 #2 FesterSXS Programmer Joined Feb 4, 2002 Messages 2,196 Location GB try this: Code: <% For Each item in Request.Form Response.Write item & vbcrlf Next %> and to display values as well you could use: Code: <% For Each item in Request.Form Response.Write item & " : " & Request.Form(item) & "<BR>" & vbcrlf Next %> Tony http://www.phoenix-paints.co.uk/portfolio Upvote 0 Downvote
try this: Code: <% For Each item in Request.Form Response.Write item & vbcrlf Next %> and to display values as well you could use: Code: <% For Each item in Request.Form Response.Write item & " : " & Request.Form(item) & "<BR>" & vbcrlf Next %> Tony http://www.phoenix-paints.co.uk/portfolio
Sep 25, 2002 Thread starter #3 scc Programmer Joined Apr 30, 2001 Messages 218 Location US Just what I needed! Thanks Upvote 0 Downvote