Formidable Forms

Formidable Forms

  • Features
  • Pricing
  • Resources
    • Docs & Support
    • Blog
    • Community
  • Solutions
    • Web Applications
    • Calculators
    • Surveys
    • Directories
    • Payments
    • Contact forms
  • Login
  • Get Formidable Forms

Rich Text

Last Updated: April 1, 2021

Knowledge Base → Forms → Form Building → Field Types → Rich Text

— Premium Feature —

Rich Text fields are textarea fields that use the WordPress rich text editor. This allows user to easily add bold text, links, ordered lists, blockquotes, etc.
Rich Text Field

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!

Standard field options

A Rich Text field has the following standard options:
Rich Text Field OptionsRich Text Field Options

  • Field type
  • Required
  • Unique
  • Read Only
  • Field key
  • CSS layout classes
  • Label position
  • Field size
  • Visibility
  • Conditional logic

Field-specific options

In addition to the standard field options, Rich Text fields have field-specific options.

Rows

Set the number of rows to be displayed by default.
Rich Text Field Rows

Default values and field icons

You may add a default value to a rich text field by using the Rich text input in the field options setting.
Rich Text Field - Default Value

Field action icons allow you to duplicate, delete, or move a field on the form builder page. See the field action icons article for more information.

Display Rich Text fields

Display the value submitted in a Rich Text field in a form's confirmation message, email, or View.

Shortcode options

  • Display text: Display the submitted text. Paragraph tags will be added automatically.
    [x]

    Replace x with the ID or key of the Rich Text field.

  • Text without paragraph tags: Display the submitted text without automatically adding paragraph tags.
    [x wpautop=0]

    Replace x with the ID or key of the Rich Text field.

  • Truncate: Truncates text to the specified number of characters. By default, a link is appended to the end of the text. You can use the following parameters to modify or remove this link.
    [x truncate=40]

    Replace x with the ID or key of the Rich Text field and replace '40' with the number of characters you would like to display.

    • More text: By default, this link will be "..." but can be changed with the parameter below. If this shortcode is inserted in a Dynamic View, the link will go to the detail page. Otherwise, it will show the full text in-place.
      [x truncate=100 more_text="Read More"]

      Replace x with the ID or key of the Rich Text field and replace '100' with the number of characters you would like to display.

    • No Link: By default, when truncating text, there will be a link to show the remaining text. To remove this link, use the following shortcode. Please note, the no_link parameter requires the truncate parameter to also be used.
      [x truncate=100 no_link=1]
  • Remove links: Remove links from text.
    [x links=0]

    Replace x with the ID or key of the Rich Text field.

  • Remove HTML: Removes all HTML from the displayed text.
    [x striphtml=1]

    Replace x with the ID or key of the Rich Text field.

Limitation

When displaying the value submitted in a Rich text field using the truncate parameter, the HTML needs to be stripped to avoid cutting in the middle of an HTML tag.

Related developer hooks

  • Require a minimum, maximum, or range of words (or characters) with the frm_validate_field_entry hook.
  • Change the options for the TinyMCE editor, like having an Add Media button, with the frm_rte_options hook.
  • Standard field options
  • Field-specific options
    • Rows
  • Default values and field icons
  • Display Rich Text fields
    • Shortcode options
  • Limitation
  • Related developer hooks
Categories
×

Categories

  • Installation & Getting Started
  • Account Management
  • Forms
  • Entries
  • Views
  • Styles
  • Importing & Exporting
  • Add-Ons
  • Extend Formidable Forms

Using WordPress and want to get Formidable Forms for free?

Get Formidable Forms Lite Now

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact
  • Free Online Form Builder

Top Features

  • Application Builder
  • Calculator Forms
  • Surveys & Polls
  • Quiz Maker
  • Form Templates
  • Application Templates
  • Directories
  • Donation Plugin

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • WP Tasty
  • Nutrifox

Copyright © 2023 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews