<html lang="pt-br" dir="ltr"><head></head><body>### [Using the Rich Text Field](https://wpforms.com/docs/how-to-use-the-rich-text-field-in-wpforms/)

**Published:** November 17, 2023
**Author:** Umair Majeed

**Excerpt:** Learn how to allow visitors to format their submissions with links, colors, and images.

**Content:**

Rich Text Field is a Basic Feature

 Unlock Rich Text Field and other powerful features to grow your business.

 [ Get WPForms Basic ](https://wpforms.com/pricing/) 

Would you like to allow users to customize their form submissions? The Rich Text field provides a flexible way for users to format text and images before submitting their online forms.

This tutorial will show you all you need to know to get started with the Rich Text field in WPForms.

- [Adding a Rich Text Field to Your Form](#add-rich-text-field)
- [Enabling Advanced Options](#advanced-options)
- [Allowing Media Uploads](#allowing-media-uploads)
- [Using the Rich Text Field](#using-the-rich-text-field)
- [Embedding External Files](#external-file)

---

Before getting started, you’ll first need to make sure WPForms is [installed and activated](https://wpforms.com/docs/install-wpforms-plugin/ "How to Install the WPForms Plugin") on your WordPress site and that you’ve [verified your license](https://wpforms.com/docs/verify-wpforms-license/ "How to Verify Your WPForms License"). Then, you can [create a new form](https://wpforms.com/docs/creating-first-form/ "How to Create Your First Form") or edit an existing one to access the form builder.

Explore our [Homework Submission Form Template for Educators](https://wpforms.com/templates/homework-submission-form-template/ "Homework Submission Form Template for Educators") if you’d like to get started with a customizable template.

## Adding a Rich Text Field to Your Form

Since the Rich Text field is an advanced feature, you’ll find it under **Fancy Fields** in the form builder.

![Rich text field](https://wpforms.com/wp-content/uploads/2021/09/Rich-Text-field-2.png)To add the Rich Text field to your form, click on it or drag and drop it into the preview area.

![Click and drag field](https://wpforms.com/wp-content/uploads/2021/09/Click-and-drag-field-2.gif)Next, feel free to change the field’s label by entering whatever text you’d like in the **Label** field.

![Rich text field label](https://wpforms.com/wp-content/uploads/2021/09/Rich-text-field-label.png)## Enabling Advanced Options

To access the Rich Text field’s advanced options, navigate to the **Advanced** tab in the Field Options panel.

![Rich text field advanced options](https://wpforms.com/wp-content/uploads/2021/09/Rich-text-advanced-options.png)Next, we’ll go over two of the more notable advanced options: **Field Style** and **Field Size**.

### Field Style

The Rich Text field includes two style options that you can choose from: **Basic** and **Full**.

![Field style options](https://wpforms.com/wp-content/uploads/2021/09/Field-style-options.png)#### Basic Field Style

The Basic field style is pretty straightforward, as it includes a simple toolbar with minimal features.

![Basic style rich text field](https://wpforms.com/wp-content/uploads/2021/09/Basic-style-rich-text-field.png)Here is a list of the toolbar options for the **Basic** style:

- Bold
- Italic
- Underline
- Strikethrough
- Bulleted list
- Numbered list
- Blockquote
- Align left
- Align center
- Align right
- Undo
- Redo
- Insert/edit link

#### Full Field Style

The Full field style includes everything that is available with the Basic field style, and much more. To display the additional options, click the **Toolbar Toggle** icon.

![Toolbar toggle icon](https://wpforms.com/wp-content/uploads/2021/09/Toolbar-toggle-icon.png)Here is a list of additional options that become available when you select the **Full** field style:

- Insert Read More tag
- Horizontal line
- Text color
- Paste as text
- Clear formatting
- Special character
- Decrease indent
- Increase indent
- Keyboard Shortcuts

Additionally, users will be able to select a range of text formats from the dropdown located in the top-left corner.

![Text options](https://wpforms.com/wp-content/uploads/2021/09/Text-options.png)**Note:** To manage the length of content users can submit, you can set a character limit for the Rich Text field. See our [developer documentation](https://wpforms.com/developers/how-to-limit-characters-for-the-rich-text-field/) for a guide on how to implement this restriction.

### Field Size

There are three field sizes you can choose from: **Small**, **Medium**, or **Large**. Each different field size will determine the height of the Rich Text field.

To choose the field size for your Rich Text field, click on the dropdown menu labeled **Field Size**.

![Field size options](https://wpforms.com/wp-content/uploads/2021/09/Field-size-options.png)**Note:** WordPress is [dropping support for Internet Explorer 11](https://wordpress.org/news/2021/05/dropping-support-for-internet-explorer-11/). For users with Internet Explorer 11, the feature to add media within the Rich Text field may not work as expected on the frontend.

## Allowing Media Uploads

The Rich Text field provides the option for users to upload image files. Here is a list of all image types that can be uploaded through the Rich Text field:

- .jpg, .jpeg, .jpe
- .gif
- .png
- .bmp
- .tiff, .tif
- .webp
- .ico
- .heic

To enable this option, navigate to the **General** tab in the Field Options panel. Then, select **Allow Media Uploads**.

![Allow media uploads](https://wpforms.com/wp-content/uploads/2021/09/Allow-media-uploads.png)Once enabled, you’ll now see a media icon appear in the Rich Text field toolbar. By clicking this icon, users can upload their image files.

![Rich text field media icon](https://wpforms.com/wp-content/uploads/2021/09/Rich-text-field-media-icon.png)Here is how our Rich Text field might look with an uploaded image:

![Uploaded image in rich text field](https://wpforms.com/wp-content/uploads/2021/09/Uploaded-image-in-rich-text-field.png)By default, user-uploaded files are stored in the Uploads directory of your site, inside the WPForms folder.

However, if you’d prefer to automatically store the uploaded files in the WordPress Media Library, select **Store files in WordPress Media Library**.

![Store files in WordPress media library](https://wpforms.com/wp-content/uploads/2021/09/Store-files-in-WordPress-media-library.png)## Using the Rich Text Field

When interacting with the Rich Text field on the frontend of your site, users will be able to switch between two different modes:

- **Visual**: Images and text will be displayed directly in the text editor.
- **Text**: Images and text will be displayed in [HTML](https://www.w3schools.com/whatis/whatis_html.asp "What is HTML?").

By default, the Rich Text field will start in Visual mode. However, you can switch between the different modes by selecting the **Visual** or **Text** tab in the top-right corner.

![Visual and text modes](https://wpforms.com/wp-content/uploads/2021/09/Visual-and-text-modes.png)Now, let’s add some text to the Rich Text field so we can see the difference between the two modes.

First, we’ll add a heading by clicking on the dropdown in the top-left corner and selecting **Heading 3**.

![Select heading 3](https://wpforms.com/wp-content/uploads/2021/09/Select-heading-3.png)Then, we’ll type in some text above our image.

![Example input with heading 3](https://wpforms.com/wp-content/uploads/2021/09/Example-input-with-heading-3.png)Now, to see how our content looks in Text mode, click on the **Text** tab. Here you will see the content displayed in HTML.

![Text mode](https://wpforms.com/wp-content/uploads/2021/09/Text-mode.png)## Embedding External Files

If you are using our [Post Submission addon](https://wpforms.com/docs/how-to-install-and-use-the-post-submissions-addon-in-wpforms/), you may want to allow users to embed external files, such as YouTube videos, Spotify podcasts, etc, when submitting their posts.

For example, a user may use the iframe embed code from YouTube to embed a video on the Rich Text field. Technically, this would show the video embedded in the Rich Text field.

![Embedded YouTube Video](https://wpforms.com/wp-content/uploads/2023/07/embed-overview.gif "Embedded YouTube Video")However, WPForms will sanitize and clean out the embed code after the user submits the form. We implement this security measure to protect our users from attackers using code to exploit website weaknesses.

If you want to embed videos to posts submitted through the Post Submission addon, simply paste the video link directly into the Rich Text field. WordPress takes care of adding the embed code and displaying the embedded file on your frontend using oEmbeds.

**Note:** Please see [WordPress’ official documentation](https://wordpress.org/documentation/article/embeds/) for a list of sites that support oEmbed.

That’s it! Now you have some ideas of how to use the Rich Text field in WPForms.

Next, would you like your visitors to be able to post content to your site without accessing your WordPress dashboard? Be sure to check out our guide on [how to install and use the Post Submissions addon](https://wpforms.com/docs/how-to-install-and-use-the-post-submissions-addon-in-wpforms/  "How to Install and Use the Post Submissions Addon in WPForms").

**Categories:** Fields, Field Types

---

</body></html>