Confirmation Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to pass a variable field to the confirmation asp page when using
the "Send to Database"

This is what I am putting in the confirmation URL
payment.asp?Charge=<%("amount")%>

1)A text box is named: amount
2)I put in a value in the "amount" field
3)I would like to payment.asp to act upon the passed variable
"Charge"

please help
 
You will need to start hand coding and not relying on the FP database component.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Its been awhile since I wrote ASP and I may not be clear on what you are
doing but it seems to me that all you need to do is use the Request object
in your confirmation.asp page to get the value of the input element named
'amount' from the form located in the payment.asp page that should be using
a post method because you do not want to send e-commerce data in the
QueryString using the get method when you can avoid doing so. Thus, if the
value of the action attribute of the form in the payment.asp page is
confirmation.asp all you need to do is this...

....in confirmation.asp
Response.Write(Request.Form("amount"))

Start using DevGuru [1] and W3Schools [2] as reference works

--
<%= Clinton Gallagher
METROmilwaukee "Regional Information Services"
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.devguru.com/
[2] http://www.w3schools.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top