How to create a table with forminator repeater fields values ?

Forminator Forms
November 29, 2023 02:25:26
Eldervand
Topics: 1
Messages: 3
Hi !

First of all, I would just like to clarify that I am very new to creating a website so I might use incorrect words, sorry in advance !

Using forminator, I created a form where users can enter data about guests (name, birthdate, postal address, ...), and using repeater fields, they can add as many as they want.

I would then like to create a pdf file with the guests' list and with all their data in a table. I would also like the table to have the good number of rows (otherwise I guess I could create a template with 100+ rows, but that's not the goal haha). How could I do it ?

Many thanks in advance !

Eld.
November 29, 2023 05:50:44
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

1. It must be used the "HTML" object, with the "Multipage" or "Parent / Child" settings.

Disable WYSIWYG Editor option is required to be checked.

2. Inside the "HTML" object it must be used Forminator Forms repeater shortcode as:

<table>
{foreach:group-1}
<tr><td>{text-1}</td><td>{email-1}</td></tr>
{/foreach:group-1}
</table>

Where:
group-1 - is the Group Field Slug
{text-1}, {email-1} - are Inner Field Slugs

https://e2pdf.com/docs/extensions/forminator-forms#group-field

See please the screenshot with the example attached.

We would really appreciate your feedback at WordPress.org!
November 30, 2023 00:10:51
Eldervand
Topics: 1
Messages: 3
Thank you for your answer !

It seems to work ! However, the number of rows that can appear seems to be limited to the size of the HTML object. Is there a way to make the object "grow" everytime a new row has to be added ?
November 30, 2023 00:51:53
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

Unfortunately no, it must be predefined the size of the "HTML" object due to the structure of E2Pdf. The only option to keep undefined rows of data is to use "Multipage" or "Parent / Child" options. In 1st case, it will duplicate the page and will continue content, or in 2nd case, it can continue content to the created "child" HTML block. Features would work with the paid License Key plan as the "FREE" version has a limitation to create "single" paged PDFs.

We would really appreciate your feedback at WordPress.org!
December 03, 2023 02:12:28
Eldervand
Topics: 1
Messages: 3
Thanks !

So, even with the paid licence, my PDF would always be a few pages long, even if there are only a few entries, due to the HTML objects having to be inserted ?
December 03, 2023 11:10:01
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

In the case of the "Parent" / "Child" option, additional settings allow to hide empty pages Hide Page (If Empty): https://e2pdf.com/docs/elements/html/parent-child#additional-settings

In the case of using the "Multipage" option - it will only duplicate the page in case if the content does not fit in the "HTML" block, and will do it till all data is printed.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.