We recently updated our PDF add-on to allow the use of Views to format and style your generated PDF files. This super cool feature leverages the simplicity of views to make it easy to customize your PDFs. If you haven't already, We'd love for you to check it out and tell us what you think.
Use the survey below to share your feedback on the PDF add-on.
One comment on “Formidable PDFs”
I have used it but I'm having issues getting it to work. The shortcodes don't appear to be working. Still getting the old version of the pdf and not the one I created in Views. Adding this code allowed it to work for one specific form but I can't make it work for multiple forms. HELP PLEASE 🙂
// Apply a Formidable Forms view for the attached PDF in email
add_filter( 'frm_pdfs_email_attachment_args', 'add_view_to_attached_pdf', 10, 2 );
function add_view_to_attached_pdf( $pdf_args, $args ) {
if($args['form']->id ==5) { //change 5 to the ID of the form
$pdf_args['view'] = 2; // ID of view.
$pdf_args['id'] = $args['entry']->id; // Do this to show the detail view, otherwise, it shows the listing view.
return $pdf_args;
}
}