Inserting List data into form automatically

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 29, 2009   (RSS)

So let's say I have a product (Detail):

http://209.62.14.161/products/buildingsDetail.php?1

The buttons (Click to Rent - Click To Own) Go to the Contact Page.

http://209.62.14.161/contact/index.htm

However, I really need the Product Name to go in the "Product Inquiring about" section on the contact page (It would be even MORE nice if the rent or own box would check as well...)

So, what code do I use to send/receive that information?
I'm currently using:

<a href="../contact/index.htm?subject=<?php echo $buildingsRecord['name'] ?>">

which I know isn't right, but what is the right answer? Is it as simple as replacing "subject" with "form_field_product?"

Thanks all!

Re: [Dave] Inserting List data into form automatically

Thank you!! Once configured this works FANTASTICALLY!

Thanks again Dave!