Trouble creating a pdf report document for a form with variable number of submissions.

  • VasilyPotanin
    Asked on July 28, 2025 at 6:10 PM

    I'm creating a church school registration form where each submission contains parental information and information about anywhere between 1 and 4 children. The PDF output document I've made is pulling data from each child into a table. My best understanding is that it's not currently possible to vary the number of tables in the PDF based on the number of submissions. I was expecting the tables corresponding to children with no data would come out blank, which would work. However, instead, the tables are populated with variable names. Please suggest a more user-friendly solution.

    Additionally, is it possible to change the date display format when used in a table rather than a separate field?

    The attached screenshot is an example of what happens for a submission with only one child's information. (N.B. test data is not real.)

    Jotform Thread 29478071 Screenshot
  • Christine JotForm Support
    Replied on July 28, 2025 at 7:45 PM

    Hi Vasily,

    Thanks for reaching out to Jotform Support. Currently, Jotform PDF Editor does not support dynamically varying the number of tables based on the number of children in each submission. Instead, the PDF template includes all possible tables for children, and if a child’s data is missing, the table fields show variable names instead of appearing blank.

    A more user-friendly approach is to customize your PDF document carefully in the PDF Editor. You can add elements and form fields manually and arrange them to accommodate up to 4 children. For children without data, the fields will remain empty if the data is truly missing, but sometimes variable names appear if the fields are not properly linked or if the data is incomplete.

    Unfortunately, completely hiding or removing tables dynamically based on submission data is not currently possible within the PDF Editor. You may consider simplifying the PDF layout or using conditional logic in your form to manage data collection more effectively.

    Let us know if there’s anything else we can help you with.

  • VasilyPotanin
    Replied on July 28, 2025 at 10:07 PM

    Hi Christine, thank you for your response.

    It would be great if I could have the unfilled fields remain blank, but I'm unable to achieve that result. The configuration I have now pulls correctly for multi-child submissions, but produces the results I shared initially with variable names rather than blanks. I've attached an example of the table being filled out correctly with two kids. Additionally, please refer to the table configuration below, which may help in diagnosing the issue.

    Trouble creating a pdf report document for a form with variable number of submissions Screenshot 30

    Trouble creating a pdf report document for a form with variable number of submissions Screenshot 41

    If you could provide details on how the setup can be corrected, it would be greatly appreciated.

    Please also let me know if it is possible to format the date to omit the day of the week.

  • Christine JotForm Support
    Replied on July 28, 2025 at 10:51 PM

    Hi Vasily,

    I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    I’ve gone ahead and moved your other question to a separate thread to keep things tidy, and someone from our Support Team will help you out with it here.

    We appreciate your patience while we work on a solution.

  • Christine JotForm Support
    Replied on July 29, 2025 at 2:22 AM

    Hi Vasily,

    Note that Hide empty form fields feature in PDF Editor only applies for Input Fields, that's why the empty fields are still showing in Paragraph and Text elements in PDF Editor. As a workaround, you can create multiple Autoresponder Emails and PDF document template for each number of children then send it using Conditions.

    1. In Form Builder, click on the dropdown menu and select PDF Editor.
    2. In PDF Editor, create 3 more PDF document by clicking New PDF tab. Trouble creating a pdf report document for a form with variable number of submissions Screenshot 60
    3. Depending on number of children, delete the other Children Information. Trouble creating a pdf report document for a form with variable number of submissions Screenshot 71
    4. Next, create an Autoresponder Email. In Form Builder, click on Settings on the orange navigation bar.
    5. Click Emails on the left side panel of the page.
    6. Click Add Email the select Autoresponder Email.
    7. Go to Advanced tab, toggle on Attach PDF and select the PDF you want to assign.
    8. Rename your Autoresponder Email to avoid confusion then click Save. Trouble creating a pdf report document for a form with variable number of submissions Screenshot 82
    9. Now, apply condition to each Autoresponder Email. On the same page, click on Conditions on the left side panel.
    10. Click Add Condition then select Change Email Recipient. Trouble creating a pdf report document for a form with variable number of submissions Screenshot 93
    11. Copy the Condition below and click Save.Trouble creating a pdf report document for a form with variable number of submissions Screenshot 104
    12. Do the same for other Autoresponder Email.

    Give it a try and let us know how it goes.

Your Reply