Forums

One form for quoting multiple products dynamcially

unimark 29 Dec, 2011
Hi,

I want to make one form that can then be used for requesting quotes for several products featured on our site.
There will be 8-10 products displayed on the page.
Each products will have a button saying: "request quote for this product"
The buttons will have an ID referncing the product beside it and they should link to the form which will be mailed to us on submit.

My question :
In the form there shoud be a pre-filled field displaying the above mentioned product ID chosen in the previous page.
How do i get that ID in the pre-filled field in the form? It will be the dynamic subject in the email set up and that will allow us to send out the correct quote for each request.
(i hope this makes sense)

I have looked in the forum as well as in the cookbook but cannot find the right way to get this done.

Hope you can point me in the right direction.

I am using CF v3.

Thx in advance
Marco
GreyHead 30 Dec, 2011
Hi unimark,

One simple way to do this is to have the 'reaquest a quoter buttons be links with an id in the url so they go to e.g. index.php?option=com_chronoforms&chronoform=get_quote&pid=999

Then you can use the value of pid to look up the product details and build a custom quote email.

Bob
This topic is locked and no more replies can be posted.