Advertisement
6_2008-2009 Validation/ Processing #207581

Field Grabber

Have you ever gotten fat-fingered when trying to get the fields from a "Post" action and scrathed your head trying to figure out where the mistake is? Or pondered over a field input page, trying to figure out all the fields you have so you can add those fields to your request.form statements? This code eliminates these problems. It grabs the field names and the formats the output in a copy-and-pasteable format so you can spend more time creating and less time trouble-shooting.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<%
 For Each Item in Request.Form
  For iCount = 1 to Request.Form(Item).Count
 if Request.Form(Item)(iCount) <> "" then
  response.write Item & "=request.form(&quot;" & Item & "&quot;)<br>" 
 End if
  Next
 Next
%>
Original Comments (3)
Recovered from Wayback Machine