| Author |
passing field values from a form to congirmation.asp
|
|
| progcode 2007-03-13, 11:23 am |
| Hi
I have a asp page running on my website as form.asp file & its confirmation page as confirmation.asp is it possible to get the field values from the form & display it in the confirmation page. | |
| progcode 2007-03-13, 11:43 am |
| quote: Originally posted by progcode
Hi
I have a asp page running on my website as form.asp file & its confirmation page as confirmation.asp is it possible to get the field values from the form & display it in the confirmation page.
I just need to get three values from the form(*.asp) to the confirmation page(*.asp). And display its values. Can i use hidden values or session variable please help.. | |
| David Berry 2007-03-13, 11:16 pm |
| When you submit the form to the confirmation page you retrieve the values
and store them in variables like this:
<%
Dim myVariable
myVariable = Request.Form("FIELDNAME")
%>
Where FIELDNAME is the name of the field on the form (can be a hidden or
non-hidden field)
Once you have the value you can display them with Response.Write. Ex:
<%
Response.Write myVariable
%>
--
David Berry
FrontPage Support: http://www.frontpagemvps.com/
"progcode" <progcode.2neplk@mail.forum4designers.com> wrote in message
news:progcode.2neplk@mail.forum4designers.com...
>
> progcode wrote:
> I just need to get three values from the form(*.asp) to the
> confirmation page(*.asp). And display its values. Can i use hidden
> values or session variable please help..
>
>
>
> --
> progcode
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |