- xowiiAsked on September 15, 2011 at 01:20 PM
We want to integrate a form to a single button, each product will have a name and a color, then when you press the "cotizar or order" button automatically import the "name" and "color" to the new form page.
Then que customer only will need to complete the form with their information. But the product they requested before is already in the form.
Is this possible?? please help!!!
- JotForm SupportNeilVicenteAnswered on September 15, 2011 at 03:14 PM
This can be made possible with the use of URL Prepopulation. Basically, URL prepopulation is used to automatically fill up fields in a form by appending query string parameters onto the form's URL.
For example, the links below point to the same form, although with different choices automatically selected:
You can use then use such URLs as links to your website buttons.
Click the link below to learn more about URL prepopulation:
Feel free to contact us again should you have further questions about this topic. Thanks!
- xowiiAnswered on September 15, 2011 at 03:59 PM
Many thanks, but what if my form will be integrated to a /contact.php page in my site, can i still use the same link?? i think that link will take me out of my website... How to solve this??
- JotForm SupportNeilVicenteAnswered on September 15, 2011 at 04:31 PM
If you embed the form using full source code, you can still use the same method although the URL will be that of your site and not JotForm's.
For example: http://www.yourdomain.com/contact.php?color=Red,Blue
But if you want to use iFrame or script Embed methods instead of the full source code, you need to know some PHP to pass the query string parameters to the embedded form's iframe.
- xowiiAnswered on September 15, 2011 at 04:34 PM
Thanks, i think this will work!