Printing multiple PDFs from repeater fields

By: Eric Reid | Asked: 05/10/2022
ForumsCategory: How-toPrinting multiple PDFs from repeater fields
Eric Reid asked 2 years ago
Hey Everyone! I'm trying to figure out the best way to print multiple PDF "certificates" from a repeater field. In my form I have a repeater field for employee names and other various information. For each employee entered I need to be able to print a PDF with their information on it. My Google searches have been fruitless. Any help would be greatly appreciated. Thanks! Eric
1 Answers
Victor Font answered 2 years ago
There's a couple of things to understand about repeater fields in order to see what's required to do what you are asking. Although they are called repeater fields, they are actually embedded forms, just as is the address field. With repeaters, every time you add or remove a row, you are adding or deleting an entry for the embedded form. Each row in a repeater is its own form entry. When you add form fields to a repeater during your design phase, you are actually building the repeater form that is used to capture the entry data. When you click the submit button on the primary form, Formidable processes all embedded forms first to build the linkages to the parent entry/field. This means that to send emails to everyone entered through a repeater row, you must gather the email addresses from each of the repeater form's entries. This requires custom code. You can fire this custom code in the frm_after_create_entry hook or another hook that fires before the email action. I don't know what that hook might be right now. I don't have time to research it. But, because I know how friendly Formidable is to developers, there's probably a hook somewhere you can exploit that makes sense for your particular use case. If you need help with development, please feel free to search through our Formidable Developers Directory at
Eric Reid replied 2 years ago

Thanks so much Victor! I have been looking through the developer directory. And just to clarify, I'm just sending the separate PDFs to the employer that is filling out the form, not the individual employees that are in the repeater fields. Thanks so much for your time!

Bobby Clapp replied 2 years ago

Victor covers this pretty well. My perspective, depending on how you are doing it, I think you will be best off if you create views from repeater fields and then try to use that to generate your PDF.</a&gt;

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community