HighDots Forums  

Many links to one form, dynamic data display

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Many links to one form, dynamic data display in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
crmtrainer
 
Posts: n/a

Default Many links to one form, dynamic data display - 08-05-2004 , 03:58 PM






I want to have "I Want to Know More" links from various pages all take the user
to the same page with a single form. Here's the trick: I'd like the form to
automatically display (and submit) a field value with the name of the product
defined by the page from where the user clicked the link. I just re-read that
and confused myself! Try this example:

If users click on "I Want to Know More" from the "Alpha Product" page, the
form they jump to will automatically display "Product Interest" as "Alpha." If
they click on "I Want to Know More" from the "Beta Product" page, the form they
jump to (same form) will automatically display "Product Interest" as "Beta."
Etc., etc.

Many links, all pointing to one form, and the form dynamically displays the
Product Interest based on the page they linked from.

Anybody? Thanks.


Reply With Quote
  #2  
Old   
RSJM
 
Posts: n/a

Default Re: Many links to one form, dynamic data display - 08-05-2004 , 05:02 PM






You could pass the information in a URL parameter, i.e., your link from the
Alpha Product would point to form.asp?product=alpha and the link from the Beta
Product would point to form.asp?product=beta. In the form.asp page you simple
read the URL parameter called product and add this to the data that is to be
submitted on the form.


Reply With Quote
  #3  
Old   
crmtrainer
 
Posts: n/a

Default Re: Many links to one form, dynamic data display - 08-06-2004 , 08:16 AM



Sounds good! Thanks for your time and expertise.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.