Click to See Complete Forum and Search --> : previewing form entry before writing to DB


Gazthrak
02-19-2004, 12:26 PM
This seems like a very simple thing, but i can't seem to get it.

I am writing a little survey where people answer yes or no via radio buttons (along with name and email) and i am trying to write the results to a preview page before it writes it to a database. My problem is i can't seem to have the preview page get the entries and spit them out. here is some code to help:


<form action="svalidate.asp" method="post"><br>
<input type="text" name="fname" size="20"><br>

and and so on with the other fields...
then here is the code on svalidate.asp where i hope to retrieve the entry.

dim fname
fname=request.form("fname")
response.write(fname)


any help would be greatly appreciated.

Ribeyed
02-19-2004, 12:56 PM
hi take out the barackets "(" and ")"


response.write fname

buntine
02-19-2004, 10:14 PM
Parenthesis will not cause an error in your script. There must be something else you are missing because your code should work.