Sep 25, 2002 #1 scc Programmer Apr 30, 2001 218 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 Feb 4, 2002 2,196 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 Apr 30, 2001 218 US Just what I needed! Thanks Upvote 0 Downvote