What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Integrate forms with website buttons???

    Asked by xowii on September 15, 2011 at 01:20 PM

    Hello,

    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!!!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 15, 2011 at 03:14 PM

    Hi Marcel,

    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:

    http://www.jotform.com/form/12570637190?color[]=Red,Blue

    http://www.jotform.com/form/12570637190?color[]=Green

    http://www.jotform.com/form/12570637190?color[]=Green,Red

    http://www.jotform.com/form/12570637190?color[]=Blue,Green,Red

    You can use then use such URLs as links to your website buttons.

    Click the link below to learn more about URL prepopulation:

    http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters

    Feel free to contact us again should you have further questions about this topic. Thanks!


    Neil

  • Profile Image

    Answered by xowii 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??

    Thanks again

  • Profile Image
    JotForm Support

    Answered by NeilVicente 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.

  • Profile Image

    Answered by xowii on September 15, 2011 at 04:34 PM

    Thanks, i think this will work!