Sure, retrieve the values by name...
strFieldName = request.form("fieldName")
tom mallard
seattle
-----Original Message-----
From: Daniel Field [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 7:31 AM
To: ActiveServerPages
Subject: Form Data
I am stored the details passed from a form post in DB for future use. I get
the form data by using:
formData = request.form
This is so I can store the whole lot in one go. I then store this in a DB
and then retrieve it later on with the following:
localTemp = split(thisRS.fields(0), "&")
for c = 0 to UBound(localTemp)
localTemp2 = split(localTemp(c), "=")
if localTemp2(0) = "uid" then
generateView = generateView + "<input type=""hidden"" name=""uid""
value=""" & uid & """>"
else
generateView = generateView + "<input type=""hidden"" name=""" &
localTemp2(0) & """ value=""" & localTemp2(1) & """>"
end if
next
This allows me to output the previous form post as hidden items. The problem
I am having is that the request.Form returns the form data in its encoded
form and I am unable to find a easy way to get it un-encoded?
Any ideas?
Dan
_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed
Scanning Service - powered by MessageLabs. For further information visit
http://www.worldcom.com
---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]