Repeatable fields no longer preserve line breaks in PDF output

Home Forums Pre-Sale Repeatable fields no longer preserve line breaks in PDF output

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #58141 Reply
    Jacob Ursem
    Participant

    Hello,

    We have been using FormidablePro2PDF together with Formidable Forms / Formidable Pro for many years, and it has always worked very well for us. We use it to generate PDF documents such as freight forms, where data from repeatable fields is placed into multiline PDF fields.

    Since last week, we suddenly have an issue with repeatable fields in the generated PDF output.

    The repeated child field values are still being retrieved correctly, but the line break or separator between the repeated entries is no longer preserved.

    Example expected output:

    Test 1
    Test 2

    Actual output:

    Test 1Test 2

    The same happens in our production PDF. For example, values such as:

    Agco
    Scania

    are now rendered as:

    AgcoScania

    And dimensions such as:

    20x20x30
    20x20x30

    are now rendered as:

    20x20x3020x20x30

    We have already done quite a bit of troubleshooting:

    * Reverted Formidable Forms to older versions.
    * Reverted Formidable Forms Pro / Elite to older versions.
    * Performed a clean reinstall of FormidablePro2PDF version 3.23.
    * Disabled all other regular WordPress plugins.
    * Temporarily disabled the only mu-plugin.
    * Checked that PHP has not changed.
    * Tested with old entries that previously generated correctly; these now also generate incorrectly.
    * Verified that the PDF template fields themselves support multiline text.
    * Tested manual multiline input directly in the PDF template; this works correctly.
    * Created a new minimal test PDF with only one large multiline text field.
    * Mapped one repeatable field to that test field using the Repeatable format.
    * The issue still occurs in the minimal test PDF, so it does not appear to be caused by our existing PDF template or layout.

    The current setup is:

    * FormidablePro2PDF: 3.23
    * WordPress: 6.9.4, also previous versions are not working
    * Formidable Forms / Formidable Pro: tested with current and older versions
    * PHP: unchanged according to our hosting environment

    In FormidablePro2PDF, the mapping is the standard repeatable setup:

    Repeatable parent/container field → PDF field → Format: Repeatable → child field shortcode in the repeatable text box

    The child field values are retrieved, but they are concatenated without a newline between the repeated rows.

    Could you please advise whether this is a known issue with Repeatable formatting, or whether there is a patch or workaround available?

    Kind regards,

    Piet Boekema

Viewing 1 post (of 1 total)
Reply To: Repeatable fields no longer preserve line breaks in PDF output
Your information: