navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

passing a field to another page and...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> passing a field to another page and...
Page: [1]
 
nettop

 

Posts: 210
Joined: 2/9/2004
Status: offline

 
passing a field to another page and... - 3/31/2008 10:02:43   
I have a page at http://www.foothillbiz4sale.com . When someone enters their email address to receive our Newsletter, it is captured via a database (.mdb file). The results page is http://www.foothillbiz4sale.com/email_newsletter.asp and we would like some additional information. Two things:

First, I would like to simply capture the email address that was submitted in the email field onto this 2nd form (populate it), in such a way that it cannot be edited. I don't think I can use Sessions, because they are not logged in and I don't yet know who they are.

Second, I would like to insert the data from this second form into the record that was just created from the first page, rather than inserting it into a different table...if that's possible. Please advise. Thanks, Tim
rdouglass

 

Posts: 9167
From: Biddeford, ME USA
Status: offline

 
RE: passing a field to another page and... - 3/31/2008 11:52:15   
quote:

First, I would like to simply capture the email address that was submitted in the email field onto this 2nd form (populate it), in such a way that it cannot be edited. I don't think I can use Sessions, because they are not logged in and I don't yet know who they are.


You could either make the field disabled or you could place the data in a hidden field and just display it regularly without an <input> element. And actually you can use sessions any time you want and it will stay untill either the client closes that browser session or the session times out.

quote:

Second, I would like to insert the data from this second form into the record that was just created from the first page, rather than inserting it into a different table...if that's possible.


It's always possible. :) Why do you need it entered twice? Isn't it entered when they initially submit (or is this a confirmation form)? Can you explain more?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to nettop)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> passing a field to another page and...
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts