Advertisement
2_2002-2004 Validation/ Processing #129245

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

Shrnutí AI: 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.

Zdrojový kód
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
%>
Původní komentáře (3)
Obnoveno z Wayback Machine