PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Convert form to PDF on confirmation page?

  1. nathanbray
    Member

    Hi does this feature exist or could it somehow be easily implemented? I've set up a couple of gravity forms as somewhat of an online submission form to order services. After a series of questions the user hits submit and is taken to the gravity forms confirmation page where the form information is included and they can print it out, an email copy of their data is also sent to them but I've found that if you want to print the confirmation page you actually end up with a lot of the other content as well like the blog header, side module links and images, etc. Not all users know how to just print "selection" so...

    I thought it would be kind of cool if their form data could be automatically converted to a nice, clean printable PDF that they could download to save for their records and also print out.

    Anyone have any ideas? Thanks!

    Posted 14 years ago on Tuesday April 6, 2010 | Permalink
  2. There's no built-in feature to do what you're asking about.

    The easiest thing to do in your case is to define the @media print rules in your stylesheet.

    You could hide the sidebar, blog header, etc. as well as define other styles specifically for printing.

    something like this..

    <style>
    @media screen
      {
         #sidebar {}
      }
    @media print
      {
         #sidebar {display:none;}
         #blog_header {display:none}
         #footer {display:none;}
      }
    </style>

    If you're not familiar with CSS media types, W3Schools is a great place to get some information.

    Posted 14 years ago on Tuesday April 6, 2010 | Permalink
  3. Would that be in the theme css or in the css for the Gravity Forms themselves? Thanks!

    Posted 13 years ago on Friday October 28, 2011 | Permalink
  4. Add this CSS to your theme's stylesheet, either the style.css or custom.css or however your theme provider wants custom CSS rules added. There is never a need to modify the core Gravity Forms CSS files.

    Posted 13 years ago on Friday October 28, 2011 | Permalink
  5. Thanks a million!

    Posted 13 years ago on Friday October 28, 2011 | Permalink
  6. No problem. Good luck.

    Posted 13 years ago on Friday October 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.