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

    Can we have the code with URL parameters embedded in our site?

    Asked by Benflips on July 20, 2016 at 09:22 PM

    Separately though, am i right in assuming that if we do this, and create a personalised form with URL parameters (either manually or through the app) that we cannot have that code embedded on our site?

    Presumably, if I wanted it on a private page of my website, I would have to create a page for every separate form I personalised, it that right?

    In a perfect world, I'd love to be able to host my form on my website on a private page, but send a link to that page in email to the client, and still have some of their personal details on the form...

    Not sure if that is possible - or if the only workaround is to go to your server with the personalised URL...

  • Profile Image
    JotForm Support

    Answered by Chriistian on July 20, 2016 at 09:32 PM

    I would like to inform you that the URL parameters will also work on a form that is embedded on a website. So for example you have a form embedded in a website called www.mywebsite.com. If you want to send a link to that page to the client and have their personal details on the form, you just need to add the URL parameters at the end of the link.

    So the link that you will send to your client will be:

    www.mywebsite.com?fullName[first]=John&fullName[last]=Doe

    When they click on that link, they will be redirected to the form on your page and it will automatically have their details pre-populated on the form.

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

  • Profile Image

    Answered by Benflips on July 21, 2016 at 06:41 PM

    I'm not sure if i wasn't clear above, because it seems you haven't quite answered what I thought I was asking!

    I am sure the URL parameters process can work on embedded forms, great!

    What I'm asking though, is whether you can have a generic form on the website, and then somehow personalise that embedded form for each invidual who needs to access it to produce a submission.

    Maybe some way to have it generate a password that will access just their personalised form if such a feature exists? Then have it revert to the generic one after they've submitted. Or better yet, have potentially multiple people accessing the same form on the site, but still be able to personalise just a few fields

    Am I right in assuming that to achieve something like this I would need a completely new page on my website, one page for each personalised embedded form? That will get very problematic, very quickly!

    I understand how to do the URL parameter thing, or use your app to achieve the same result, but I'm wanting to avoid having it come to your hosted site if possible, because (as my form is quite complex) there is a bit of a load time at the beginning, and I'd like to avoid that if possible.

    (My intention, to make the app easier to use is to duplicate the name, mobile number and email fields at the top of the form as 'hidden fields' so I can easily fill just these 3 data fields I want).

  • Profile Image
    JotForm Support

    Answered by Chriistian on July 21, 2016 at 09:48 PM

    I'm afraid that is not possible. The only way you can personalize a form to a user is if you use the URL parameters to populate the fields with the user's data.

    Your requirement will need a database to store the user's personalized data and show it to the fields in your form. Jotform is only for collecting responses from your users, so it cannot perform a database lookup.

    The only way you can achieve your requirement is to hire a developer to add custom php code to your form that will perform a database lookup to find the specific user's data, and fill that data to the form fields. To add custom code, it would require using the form's full source code.

     

  • Profile Image

    Answered by Benflips on July 21, 2016 at 10:45 PM
    Ok.
    Do you know if once I'm finally done tweaking my form and I publish it,
    whether it will still have the 10-20sec load time? (I curretly notice this
    delay when I open a preview in a new tab)
    I assume this delay is because my form is so big/long - but once published,
    if this delay won't be there then it won't be such a problem to send a
    URL-parameter link
    I do of course want to have it embedded if possible - so if I go down that
    path, is what I described the only way to achive this? To create a new
    webpage for every individually customised form? - it might just be easier
    to bite the bullet and keep using your hosting, and make sure I've got
    encryption dialled in.
    *Regards,*
    *Dr. Ben Phillips*
    Chiropractor
    B.App.Sc.(Comp.Med.)(Chiro) M.Clin.Chiro.(RMIT)
    ...
  • Profile Image
    JotForm Support

    Answered by Chriistian on July 22, 2016 at 12:06 AM

    Do you know if once I'm finally done tweaking my form and I publish it, whether it will still have the 10-20sec load time?

    Your form does indeed have a lot of fields and pages, so it may take a few seconds to load. However, you can try clearing your form cache to see if that speeds up the load time. Here's how: How to Clear your Form Cache. Sending a URL parameter link should not affect the load time of the form. 

    If you will embed the form to your webpage, you can try using the iFrame embed method to see if that method improves the load time.  

    Another possible solution would be to download the complete source code of your form and place it on your website. This way, all sources and codes will be coming from one domain which will greatly lessen the loading time of the page.

    I do of course want to have it embedded if possible - so if I go down that path, is what I described the only way to achieve this? To create a new webpage for every individually customized form? 

    Yes, creating a page for every individual is indeed a possible method to have a customized form for every user. Simply add the URL parameters at the URL of the embed code, so that the form embedded on the page will automatically have the details of the user filled in. Here's a sample when using the iFrame embed code with URL parameters for John Doe.

        <iframe

          id="JotFormIFrame"

          onload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/12345678909874?fullName[first]=John&fullName[last]=Doe"

          frameborder="0"

          style="width:100%;

          height:539px;

          border:none;"

          scrolling="no">

        </iframe>