### [How to Add a Filterable Field to a Form for Internal Use](https://wpforms.com/developers/how-to-add-a-filterable-field-to-a-form-for-internal-use/)

**Published:** November 4, 2020
**Author:** Editorial Team

**Excerpt:** This tutorial will show you how to provide an internal filterable field for your forms using a little CSS. 

**Content:**

## Introduction

Would you like to add a filterable field to your form that is for internal use only? Being able to quickly and easily filter through your entires can save a lot of time but you may not want this field to display on your form. In this tutorial, we’re going to show you exactly how easy it is to achieve this.

In our example, we’re going to be creating a lead generation form. Once the phone number has been verified, we want to be able to add a flag on the entry so it can be filtered out of reports later on.

## Creating the lead generation form

Our first step will be to create our form and add our relevant fields to this form for our users to complete.

However, we also want to add a field that we’ll be able to put our flag in later if the phone number has been verified. To do this, we’re going to add a **Single Line Text** form field.

![Add a text field to your form that you can later use to filter your results](https://wpforms.com/wp-content/uploads/2020/11/wpforms-add-single-line-text-field.jpg)

If you need any help in creating your form, [please review this documentation](https://wpforms.com/docs/creating-first-form/ "How to Create Your First Form").

## Adding a CSS class to the filterable field

Since we want this field as an internal only field and we don’t want it to display on the form for our visitors, we’re going to add a CSS class to this field that we can use to hide this field with CSS in a later step.

To add a CSS class to the field, open the **Advanced** tab of the field from the form builder and add `wpforms-field-hidden` to the **CSS Classes**.

![Add your CSS class to the form field so we can hide this field from our form](https://wpforms.com/wp-content/uploads/2020/11/wpforms-add-css-class-to-hide-field.jpg)

This CSS class name is a default class in WPForms, the CSS is already in place. Once you add the class, the CSS to **display:none;** on the field will be automatically applied.

When our users visit the site, they won’t be able to see the internal use filterable field.

![The field won't display to any visitors when they complete the form](https://wpforms.com/wp-content/uploads/2020/11/wpforms-frontend-form.jpg)

## Creating the column view

For this step, we’re going to change the columns view for our entry screen. For more information on how to do this, [please check out this documentation](https://wpforms.com/docs/how-to-customize-the-columns-for-form-entries/ "How to Customize the Columns for Form Entries").

We want our internal field to show when you view the entry screen.

![change your column view so you can see your internal field when viewing the entries list](https://wpforms.com/wp-content/uploads/2020/11/wpforms-setup-entry-columns.jpg)

Now when you view the entries screen, you’ll see all of your entries for this form including the internal field that was added above.

![you can see your internal field now when the entries page loads for this form](https://wpforms.com/wp-content/uploads/2020/11/display-internal-field.jpg)

## Filtering the entries

Now when you are on the **Entries** screen of your form, you can easily filter through these entries.

![You've now successfully provided a filterable internal field to your form.](https://wpforms.com/wp-content/uploads/2020/11/wpforms-filter-results.jpg)

For more information on searching and filtering entries, [you can check out this documentation](https://wpforms.com/docs/how-to-search-and-filter-form-entries/ "How to Search and Filter Form Entries").

Would you like to also use CSS to change the color of your submit button? Head over to our tutorial on [How to Change the Submit Button Color](https://wpforms.com/developers/how-to-change-the-submit-button-color/ "How to Change the Submit Button Color").

**Categories:** Tutorials

**Tags:** CSS

---

