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

    Embedded Form: Prepopulation by URL parameter

    Asked by yogiparish on July 19, 2017 at 02:44 PM

    How can I embed a form in an existing page to edit old data

    I can't seem to get my head around this, but I think it should be easy.

     

    I want a user to have the possibility to either enter new data into a form that is embedded into my webpage.

    For Example

    http://mysite/entryform.html

    that looks like this basically:

    <>

    Embed code:

    <>

     

    Now what I want to do is to generate a link with the autoresponder that will have the link to the same webpage, so the can edit the entries later.

     

    The link would be:

    http://mysite/entryform.html?sid=ID_OF_THIS_ENTRY  (usually a long number)

    and the webpage should do this:

    <>

    Embed code:

    <>

     

    So the actual page would be more or less the same. Only the SID should be passed (if the query exists) to the jotform servers

    I'm stuck, but I think this should be really easy.

     

    Thanks for any help!

     

    best

    yp

  • Profile Image
    JotForm Support

    Answered by Mike on July 19, 2017 at 04:16 PM

    Thank you for contacting us.

    If you use default embed JS code like this:

    <<HTML>>
    Embed code: <script> ... as copied from the PUBLISH page... </script>
    <<REST OF MY HTML>>

    The prepopulation by URL parameter will most likely work by default (no modifications required):

    http://mysite/entryform.html?sid=ID_OF_THIS_ENTRY  (usually a long number)

    So my suggestion is to try it on a live page, but you need to make sure that you have a sid field on your form.