- kitkanaAsked on February 19, 2015 at 05:56 AM
Hello there, I have set up en Request Quote button for one of the websites I manage. This button is against every product on the site. All the buttons direct just to one form for the site viewer to fill out. My question is, may it be possible to auto dynamically put the name of any product name into the 'product' field within the form, so that the user doesn't have to fill in the product name their selves.
Page with products example:
When clicked on any 'Request Quote', the user gets redirected to here, which is a jotform form:
- SeanAnswered on February 19, 2015 at 10:03 AM
If I am not mistaken, you would like to pass the name of the product the viewer selected the Request Quote option under. For example, if I would like to request a quote for Wallgate Motorcycle Stand and I click the request quote for that option, the name Wallgate Motorcycle Stand should be placed in the Product Name field on your Jotform automatically. If so, yes this is possible by passing the name in the URL. You would have to make some adjustments to each button on your website for it to pass the correct name for each product.
If you place this code for your Wallgate Motorcycle Stand request button it should pre-populate the field with the corresponding name.
<a target="_blank" href="http://www.versauk.co.uk/Quote.html?productName=Wallgate Motorcycle Stand" ><img src="images/Get-Quote.JPG" alt="Get Quote" width="150" height="37"></a>
This would have to be done manually for each of the options you have available on your website.
This guide would be useful:
Do let us know if further assistance is needed.