How do I link to a pre-filled form?

  • Profile Image
    collinsdb
    Asked on January 18, 2011 at 07:22 AM

    Hi

    I read a previous answer to linking to pre-filled forms. I get the idea of adding the fieldnames and values, but the link opens the form in an otherwise blank browser window, with just the form present. I'd like it to open my website page with the form pre-filled. Is this possible?

    Thanks

  • Profile Image
    aytekin
    Answered on January 18, 2011 at 08:38 AM

    You can also add those fields to the form code you add to your site. 

    1. Add form to your site

    2. Edit the URL of the code to include the pre-populated fields

  • Profile Image
    tonyb6000
    Answered on January 18, 2011 at 11:46 AM

    Thanks, but how do I link to the form in my page, instead of the form at www.jotform.com?

    Here is the page with the link:

    http://www.wyevalleypottery.co.uk/product%20categories/sealife.php

    If you click the "i" icon for more information about the first product, there is a link to "enquire about this product". When the link is clicked, I'd like it to go to the contact page (http://www.wyevalleypottery.co.uk/contact.php) but with some fields in the form pre-populated. Is this possible?

    Thanks

    Tony

  • Profile Image
    aytekin
    Answered on January 19, 2011 at 08:11 AM

    You are using PHP on your site and you have full form source code on the page. So, you can actually accomplish this using PHP as well.

    1. On the contact.php, find this:

    name="q3_fullName[first]"

    And this right after:

    value="<?=$_GET['first']?>"

    2. On your link, instead of pointing to "contact.php", point to "contact.php?first=Tony&".

    First try this and if it works do it for all fields.