Jotform Edit Submission URL - Allow submission editing embedded in our website

  • adywilde
    Asked on February 4, 2019 at 1:17 PM

    Hi,

     

    I have created a form with 3 sections where sections 1 & 2 are filled out by one person and the third section is filled out by someone else.

    The form is submitted by person 1 and the forms details are saved and an {edit_link} placed into an email and sent to person 2 to fill out section 3.

    The problem is the {edit_link} sends them to a page where the form is showing a jotform URL. (https://eu.jotform.com/edit/-removed-)

    We have the initial form embedded on our own website but the {edit_link} sends them to a form where the first 2 sections are prefilled with the information that person 1 filled out ready for person 2 to fill out section 3 but we need this pre-filled form sent from the {edit_link} to be embedded into our own site like we have done with the initial form filled in by person 1.

    Please could you let me know how to do this?

     

    Many Thanks

    Adrian. 

  • Mike
    Replied on February 4, 2019 at 3:03 PM

    In general, we do not have a built-in option to allow the submission editing outside of the JotForm address. However, I think it should be possible with a custom script. I will create a sample script and get back to you later.

  • Mike
    Replied on February 4, 2019 at 3:33 PM

    1) Create a separate page in your website where the embedded form will be placed in the 'edit mode'. It should be a separate page; the user (person 2 in your case) will be emailed with a link to that 'edit' page.

    For example:

    https://example.com/editSubmission.html

    2) Add the code from the next link to the created web page.

    https://pastebin.com/raw/nLB8jyXc

    Jotform Edit Submission URL   Allow submission editing embedded in our website Image 1 Screenshot 20

    3) Create the edit link pointed to your web page. To do this, add ?submissionId={id} to the web page address.

    For example:

    https://example.com/editSubmission.html?submissionId={id}

    Use that edit link instead of the standard {edit_link} in the email template.