Edit submission: Ability to display the PDF file uploaded to the submission when opened in edit mode

  • Profile Image
    Asked on March 27, 2018 at 09:21 AM
    Other simple things like not being able to pass field variables into the html editor of the free text field but being able to when not editing the html editor is completely un-intuitive and useless. 
  • Profile Image
    Answered on March 27, 2018 at 09:23 AM

    You can pass form variables to source code section under the text field as seen below:


    Could you please explain your expectation and why you need this feature in details, so we can escalate this as a feature request properly? 

  • Profile Image
    Answered on March 27, 2018 at 10:09 AM

    I have updated my response. Please check my latest response in this regard.

  • Profile Image
    Answered on March 27, 2018 at 07:35 PM

    Hi Tina,

    I see that it works for you however, in practice for something like PDF rendering it does not.

    Let me explain in steps. 

    1. User uploads PDF to a file upload field on a new form submission
    2. Approver opens an edit URL for that submission and should see that PDF rendered on the screen instead of having to download it to view it. 

    Here is how you should be able to do this:

    Field 1: File Upload Field called PDF
    Field 2: Text field with the following HTML:

    <p><iframe style="width: 600px; height: 500px;" src="https://docs.google.com/gview?url={pdf}&embedded=true"></iframe></p>

    When you edit the submission the PDF uploaded does not render. However if you change the above HTML to:

    <p><iframe style="width: 600px; height: 500px;" src="https://docs.google.com/gview?url="ACTUAL_URL_OF_UPLOADED_FILE"&embedded=true"></iframe></p>

    Then it works. So there is something breaking when you try and pass the variable.

    Please see here: https://www.jotform.com/edit/3980022226423692854

    As an example of this

  • Profile Image
    Answered on March 28, 2018 at 01:24 AM

    I understand that you want to render the form fields to the PDF file uploaded by the user. If so, unfortunately, this is currently not possible. However, you may consider generating the PDF submission report to attach to the email. 


    You may also customize the PDF report by following the guide below:


    Please give it a try and let us know if you need any further assistance. We will be happy to help. 

  • Profile Image
    Answered on March 28, 2018 at 01:41 AM

    This is not what we need. 

    We need to be able to display the uploaded PDF on the form when you access the edit link. 

  • Profile Image
    Answered on March 28, 2018 at 02:54 AM

    I don't think this is possible at the moment. Please allow me sometime to run few tests using some widgets and get back to you with relevant information.


  • Profile Image
    Answered on March 28, 2018 at 03:15 AM

    Ok thanks for your help in the matter.

  • Profile Image
    Answered on March 28, 2018 at 05:07 AM

    I have tried testing iframe widget and used custom embed code on a Text field which doesn't seem to be worked. Since the iframe widget is loading on an iframe, the field values cannot be passed through. Also, the embed code on the text field is getting stripped due to security related reasons. Unfortunately, there is no workaround at this moment for the requirement. 

    Let me forward the thread to our backend team for evaluation. We cannot guarantee that the feature will be implemented and cannot provide any ETA at this moment if accepted for implementation. If there is any news in this regard, you'll be posted here.

    Thank you!