Skip to main content
April 24, 2007
Question

How to pass a form variable from page to page

  • April 24, 2007
  • 1 reply
  • 321 views
I have a series of 4 forms on 4 pages that update a database. A variable from one of the forms (doesn't matter which one, if it's easier one way over another, let's go that way) is passed to the last page, where a PayPal button will appear based on the value of the form variable. I am using ASP javascript and an Access database.
Thanks.
This topic has been closed for replies.

1 reply

Inspiring
April 24, 2007
jennivazquez wrote:
> I have a series of 4 forms on 4 pages that update a database. A variable from
> one of the forms (doesn't matter which one, if it's easier one way over
> another, let's go that way) is passed to the last page, where a PayPal button
> will appear based on the value of the form variable. I am using ASP javascript
> and an Access database.

Either store the variable in a hidden field in the intermediate forms,
or use a session variable.

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/