Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

gravity forms pdf extended WordPress

  • SOLVED

i use this plugin : [[LINK href="http://gravityformspdfextended.com/"]]http://gravityformspdfextended.com/[[/LINK]]

how can i generate a pdf with an horizontal format with this plugin ?


Answers (4)

2013-03-28

Dbranes answers:

If you mean the landscape format, you can try this solution (see [[LINK href="http://gravityformspdfextended.com/topic/landscape-pdf/"]]here[[/LINK]])

<blockquote>You will need to modify render_to_pdf.php and add the following line in the PDF_processing function, above the line $dompdf -> render();.

Add this line: $dompdf->set_paper(‘a4′, ‘landscape’);</blockquote>

So the plugin you are using (I haven't used it) is based on the <em>dompdf </em>library:

https://code.google.com/p/dompdf/wiki/Usage

and according to the <em>dompdf</em> documantation, portrait is default.

2013-03-28

Ptipwa answers:

http://gravityformspdfextended.com/faq/how-do-i-change-the-pdf-size-or-create-a-landscape-pdf/

2013-03-28

Arnav Joy answers:

horizontal format means?

2013-03-28

Nicat Asadov answers:

Write <strong>gf_list_inline</strong> to CSS Class Name
This turns a multiple choice/checkbox list into an inline horizontal list (not evenly spaced columns). This only applies to multiple choice/checkbox lists and work with any of the form label position settings.
Example: