Dynamically Pass Form Variables through Forms
This code passes all form variables by creating hidden copies of every form variable that was passed to it. This is great for gathering information over multiples forms (i.e. Order Processing).
AI
Ringkasan 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.
Kode Sumber
'This is the call here.... 'Response.Write PassFormVariables Function PassFormVariables() Const INPUT_START = "<input type=hidden name=" Const INPUT_MID = " value=" Const INPUT_END = ">" & Chr(13) & Chr(10) Dim var_name Dim var_value PassFormVariables = "" if len(request.form) > 0 then for each var_name in request.form var_value = request.form(var_name) PassFormVariables = PassFormVariables & _ INPUT_START & var_name & INPUT_MID & var_value & INPUT_END next end if End Function
Komentar Asli (3)
Dipulihkan dari Wayback Machine