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

  • Profile Image
    mbershok
    Asked 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?

  • Profile Image
    Mike
    Answered 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
    mbershok
    Answered on March 09, 2015 at 08:07 AM

    Worked like a charm. Thank you very much.

  • Profile Image
    ashwin_d
    Answered 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!