|
pd_it_guy -> RE: Pass Data to ASP Form Emailed to Specific Person (6/22/2008 11:28:21)
|
My compliments on your site. While I would first let others weigh in with their ideas as there may be a better way to do this, this is what I would do. Instead of the mail link you now have, make it a submit to a new page, and pass the variables of listing number and agent name (along with anything else you want to send forward) as hidden variables. This opens another page and form that prefills what we learned from the first page, and asks some things we dont know yet; such as, phone numbers, best way/ time to contact, email (although we would have that the old way) and anything else the agent could use to evaluate the lead. This form in turn is sent on to another page where a CDOSYS mail routine runs, that mails information from the form to the agent that was identified from the listing. The user gets a message that their inquiry was sent, and they can go back to look at more listings. You could skip the intervening page but if you go directly to the mail routine it might not look as clean and pass up an opportunity to get more information. In addition to responding to the ad to the agent you could have ad replies go into a separate database/table to be revisited later. There are lots of CDOSYS examples on this site and I can get more if you need them.
|
|
|
|