This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > Many links to one form, dynamic data display
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Many links to one form, dynamic data display
|
|
| crmtrainer 2004-08-05, 7:15 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.
| |
|
| 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.
| |
| crmtrainer 2004-08-06, 12:15 pm |
| Sounds good! Thanks for your time and expertise.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|