The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Create a PDF or Print from a Formidable View

Labels

This Discussion is public

Notifications

We know many users are frustrated by the lack of options and the lack of support on the available options for exporting Views as a PDF and we share those frustrations as well.

Solving another issue we discovered a method that allows you to download a PDF of your View, formatted correctly to any page size you require.

With no additional plugins to be installed and minimal server resources zapped!

I have written some instructions based on about 3 hours of development/testing and added notes to the GitHub repo:

https://github.com/wrkcloud/formidable-pdf

We plan on updating the readme.md as we further develop our product and figure out what does and doesn't work.

There are sample files and screenshots of the product we are developing and the PDF it creates.

Hopefully this will help some of you solve all your problems and push others in the right direction.

I have purposefully kept the examples simple to get the overall concept across, but you will see in the screenshots that with an hour or two of tweaking the stylesheets you can get a pretty good end product and of course a perfectly formatted PDF of your View.

Skill Level: Working knowledge of Formidable Pro and WP | Solid HTML and CSS knowledge | Basic PHP knowledge

Happy PDFing!

Hey Tom,

Thanks for the info!

Just a couple questions: Is there a demo by any chance? I have pretty much the same functionality, but I still think that using the print dialog and then 'save as pdf' is hacky. And I'd rather consider this a temporary solution rather than a dedicated add-on replacement (@formidable team *cough-cough*). Maybe yours works differently? A demo would help a lot!:) Even so, thanks for putting this tutorial. Your effort is appreciated!!

Hi A,

We don't currently have a public demo as it's running on our internal system - we may add a public demo link later today.

Some background on how we arrive at the PDF page might help you:

User creates an Estimate or Invoice within the system
On submit an email is sent to the client selected by the user
Within that email is a link to our site and a random string generated in the Form
We use this as a Filter parameter with default="XYZ" to prevent the first entry showing or people browsing through all of the Estimates/Invoices.
The client can then print the document straight from our site (a permanent solution for us as we produce other documents from Views in our system that some of our team prefer to print rather than view on screen)

I agree that the PDF side of this is definitely a temporary solution as most users expect the PDF download to happen on the click of a button.

But as I said in the repo, we're happy to have the extra two clicks to produce the PDF using the browser and minimal resources instead of using an other plugin (PRO2PDF we're looking at you) that practically brings the site to a crawl.

Not to mention having conditionals, nested views and custom typefaces is a massive bonus. And of course in terms of a WYSIWYG solution this beats messing around with designing a PDF template, mapping the form fields to it and then having shortcodes and more ID numbers flying around just to get it to work.

Saw the post and it looks promising, but i just want to know if you have tried printing a form that has page breaks in it.

 

 

Hi Tom!

Thank you for your tric!

On github you wrote in your instruction: "
In the Template dropdown `Formidable to PDF` will now be an option."
 

Where is this dropdown exactly? I don't see this; what did I do wrong?

Thanks in advance,
Ita

Hi Ita,

I happened across this discussion today, and while I'm not yet at the stage where I want to implement this, I can help you with your question (if you haven't figured it out yet).

Select 'Edit' for the page that you've set-up to print the view from.
On the right side of the 'edit' page you should see 'Publish' and 'Page Attributes'. (If you can't see 'Page Attributes', head to the top of the 'edit' page and under 'Screen options' check the box for 'Page Attributes'.)
In the 'Page Attributes' section you'll see two drop downs. One for 'Parent' and one for 'Template'. Presumably 'Formidable to PDF' will be an option in that 'Template' drop down.

I hope that helps!

Melanie

Hi Melanie,

Thanks for your reply!!

Because of the many dissatisfied experiences with (the support of) 'Formidable to PDF' I changed to 'DK PDF' for now. But maybe I'll try 'Formidable to PDF' another time and then I'll notice your reply.

Have a wonderful day!

Ita

Hi there,

is there some solution for sending the pdf as mail attachment after generating?

With DK pdf there is right now no solution to do this.

I hope for news in view to pdf. the mapping solution is not good working, because of different size of content lengs.

thanks

Hi,

 

Any one help to make the print view like Grid View ( Row and Column View)

Discussion closed.