How can I prepopulate my form fields?

  • Profile Image
    Asked on July 25, 2016 at 09:15 AM


    I was wondering if someone could please offer some guidance:

    I am trying to prepoulate form fields and have successfully achieved this following guidance in the forum when testing it using the form code in the preview browser, the test link ist below:

    I have now uploaded a test form to a site, i have tried changing the URL link address to reflect where the site code is embedded but cannot get it to work, I am obviously not adding the correct address:


    The form is at:


    As mentioned it is embedded, can you please offer any guidance as to what the full and correct URL should now be to enable it to auto complete as my test did when using the form ID as referenced.


    many thanks

  • Profile Image
    Answered on July 25, 2016 at 10:47 AM

    It seems like you have embedded the form using the full source code? I strongly suggest that you embed it using the iFrame embed code to avoid script conflicts between your website and the form's resources. Here's a guide on how to get your iFrame embed code: 

    Now with regards to the prepopulation, may I know if the value you are prepopulating is FIXED? I mean "1111111"? Or does it changed?

    If you just want to prepopulate directly on your website, then you can simply do it like this: 

    The difference is that you just add ?leadReference=111111 direct in your website URL instead of the form's URL.

    Here's an example website where I embedded a clone of your form using iFrame and prepopulated that actual URL: 


    Here's a guide on how to prepopulate the JotForm Form URL, the difference is that instead of prepopulating the direct link, you prepopulated the website URL to where the form is embedded: 

    I hope that helps.

  • Profile Image
    Answered on July 25, 2016 at 11:33 AM

    Hello Charlie,Thank you very much for your reply, makes sense!To answer your question, yes the values changes;What I do is do an email mail merge in word using data from my access database, this email is then sent to numerous "contacts" within outlook, the contacts are separated in to groups; typically about 20 different organisations will receive the information; - When (and if) I get a reply I need to know who it has come from, so I came up with this idea (I have used CRM systems which were just too complicated for my clients).Within the email is an "object" with the URL link address, I want to have several fields repopulated so will use "&", for the additional fields within the URL link, I would have like to be able to include the senders email address but understand that is not possible as there is no field to draw the information from, (unless you know better!)

    I appreciate you mention there may be a conflict but would prefer to populate the form directly within the website as this can provide additional information for prospective clients.

    In my tests' I have just updated the URL link in MS word, whilst this is not ideal it seems to work. Many thanks again for your help, if you have any other suggestions on how to make life easier I would not be offended!! (but very grateful!) Thanks again.