To print your form, in edit or use mode, click on the form's icon. A pdf of your form will be generated and downloaded (depending on browser settings). The name of the pdf file will be <form name>.pdf. This pdf file can then be printed.
On This Page:
A form's print view refers to the pdf (or other image types such as tiff, png..) generated when the form is submitted (ex: Pdf attached to an emailed submission).
You can configure your forms to control which fields are visible in the printed view. This is done via the printable property set in the form designer. Printable is checked by default. If you un-check this property then the control will not appear in the printed view. This property can also be set dynamically via a business rule by setting <control>.printable = [true|false].
Page Breaks
Page breaks can be added to the print view by adding the special f-page-break to any control's CSS Class property. Any control with f-page-break will start at the top of new page. In the example below, the Room Information tab prints on a new page.
Custom Print Styling
You can also style your form's print view via a custom theme. This enables you to have one look & feel in use mode and a different look & feel in print mode. See the themes chapter for details and examples.
Custom Print Button
All forms automatically have a print icon at the top of the form. You can hide the print button my deselecting the forms' printable property in the form designer. If you need to add a print button anywhere other than at the top of the form, you can do so by following these steps:
- Add a message control to your form
- Add the following HTML to your message control
- Escape the '&' in the URL before the format=pdf with & followed by amp;
<center> <a href="javascript:void(0);" onClick="window.open(document.location.toString().split('?')[0] + '? print=true&format=pdf')">Print PDF</a> </center>
The same technique above can also be used for forms in workflows. In the case of a workflow the "Print PDF" will print the currently visible workflow step and not the combination of all the steps in the workflow.