Advertisement
5_2007-2008 Validation/ Processing #185063

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

Resumo por IA: 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.

Código fonte
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
%>
Comentários originais (3)
Recuperado do Wayback Machine