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

    Is there a way to auto-fill a form field with a link from another page?

    Asked by mbershok on March 06, 2015 at 02:56 PM

    I have a form on an e-commerce site. I would like a link on each of the product pages to link to the form page and auto-fill a particular field with a product number. The product number would come from the link on the previous product page the user was at before coming to the form page.

    Is there a feature in JotForm that will allow me to do this? Is there a way to code this with a simple html active link tag?

    form field auto-fill pre-populate field
  • Profile Image
    JotForm Support

    Answered by Mike on March 06, 2015 at 05:14 PM

    Thank you for contacting us.

    The form fields can be populated with the URL parameters.

    Example:

    http://www.jotform.us/form/50544220064140?product=158

    So, you can try to use parameters added to the page with embedded form.

    Example:

    http://yourwebsite.com/product-form/?product=158

    You will also need to use Embed or Source code embedding method in this case.

    However, the pre-population might work or might not work depending on your website.

    If you need any further assistance, please let us know.

  • Profile Image

    Answered by mbershok on March 09, 2015 at 08:07 AM

    Worked like a charm. Thank you very much.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 09, 2015 at 10:09 AM

    Hello mbershok,

    On behalf of my colleague, you are welcome.

    Do get back to us if you have any questions.

    Thank you!