How can I get text auto populated based off information entered such as within the paragraph

  • Profile Image
    AscentEMC
    Asked on December 21, 2020 at 08:17 PM
    So it doesn't have to be through the paragraph function. How can I get text auto populated based off information entered such as within the paragraph onto the pdf?
  • Profile Image
    Sonnyfer
    Answered on December 21, 2020 at 08:23 PM

    Thanks for your response. If that's the case, you can add Short Text fields on your form and then map it to your Smart PDF.

    1608599924_5fe14974f0304_

    As for how to populate the short text fields, you can use conditions to copy the value from one question to the newly created Short Text fields. Remember to hide the short text fields so it won't cause confusion to your form submitters.

    1608600141_5fe14a4d090c0_

    Please give it a try and let us know if you need further assistance.

  • Profile Image
    AscentEMC
    Answered on December 22, 2020 at 02:02 PM

    I need this paragraph that is dynamically filled to be added onto the original pdf form.

    1608663714_5fe242a2e4826_EADF1EDA-1673-4

  • Profile Image
    jonathan
    Answered on December 22, 2020 at 03:20 PM

    Unfortunately only "input fields" can be added or mapped to the original PDF document.

    Since the Paragraph/TEXT field is not an input field, it is not possible to add and mapped it to the original PDF document.

    1608667728_5fe25250cfc96_zzz 2020-12-23


    An alternative you can use is the Long Text field as it is an input field and can be mapped to the original PDF. You can add the paragraph/text as the default value in the Long Text field.

    The downside is that you cannot pre-format the paragraph/texts in the Long Text field similar to the Paragraph field does.

    On the other hand, base on your design, that paragraph/text appears to be an agreement/terms clause. Shouldn't it be in the original PDF document by default?

    You can use your external PDF editor to manually add those paragraph in the PDF document.

    I hope this help. Let us know if you need further assistance.

  • Profile Image
    AscentEMC
    Answered on December 22, 2020 at 03:51 PM

    I've unfortunately tried that. The text is not static. The fields {testType} and {covidResult} are entries put in by staff whenever results come though. I need the paragraph to be on the pdf with the results included as selected by staff when its submitted so that it can create a travel letter patients need. When copying the paragraph default formatting to the long answer fields, those fields do not update based on staff input so it shows up exactly like its typed with the brackets.

  • Profile Image
    Nik_M
    Answered on December 22, 2020 at 05:29 PM

    As a possible solution, I think that you can combine the suggestions my colleagues provided. You can pass the paragraph/text with the field values with conditional logic to the Long Text field.

    I was not able to test this on a cloned version of your form, because the Original PDF was not imported, so I tested it with one of my imported PDF Forms.

    Demo form: https://form.jotform.com/203567119456056

    In my demo form, I'm passing the values from the Name and Last Name field to the Long Text field with a part of your paragraph/text.

    1608675796_5fe271d464f13_ceondition.PNG

    You can ignore the 'Submit' button on my Original PDF, in the following example.

    1608675917_5fe2724dc4756_originalPDF.gif

    You can also hide the Long Text field on the online form.

    Related Guide: How to Hide Form Fields

    The only issue is that the text in the Long Text field can't be styled. A possible solution for this issue is to use a few Long Text fields.