### [How to Set a Compact View as Default When Printing Entries](https://wpforms.com/developers/how-to-set-a-compact-print-view-as-default-when-printing-entries/)

**Published:** July 28, 2021
**Author:** Editorial Team

**Excerpt:** This tutorial will show you how to set a compact view as your default when printing WPForms entries. 

**Content:**

## Introduction

Would you like to set a compact view as default when printing WPForms entries? You can manually change this view by clicking the **Cogwheel** on the print screen.

![by default when printing entries, the view is set to non-compact](https://wpforms.com/wp-content/uploads/2021/07/wpforms-compact-view.jpg)

For more information on how to print an entry, [please see this documentation](https://wpforms.com/docs/how-to-print-form-entries/ "https://wpforms.com/docs/how-to-print-form-entries/").

However, if you wanted to set the compact view for printing as the default view then you can easily do this by using a small JavaScript snippet you can easily set this view to more of a compact view by default and in this tutorial, we’ll walk you through how to achieve this.

## Adding the snippet to set a compact print view

First, you’ll need to this snippet to your site. If you need any help in how to add snippets to your site, [please review this tutorial](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/ "How to Add Custom PHP or JavaScript for WPForms").

```

/**
 * Change print entry view to compact.
 *
 * @link https://wpforms.com/developers/wpforms_process_validate_email/
 */

function custom_wpforms_print_view() {
    ?>

**Categories:** Snippets

**Tags:** entries, Javascript, JS, PHP

---

