🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Text Length Pricing Premium Add-on Setup Guide

Updated 5 min read Gravity Forms Payments & Pricing
On this page
  1. Video walkthrough
  2. What it does
  3. Set up in 3 steps
  4. Settings reference
  5. Form → Settings → Text Pricing
  6. How units are counted
  7. Forms → Settings → Text Pricing
  8. Recipes
  9. Upgrading from 1.x
  10. Developer reference
  11. Changelog

Video walkthrough

Charge Per Word in Gravity Forms (Live Word Count & Price)
Video tutorial: charge per word in Gravity Forms with a live word count and price Watch on YouTube

What it does

Text Length Pricing sets the price of a Gravity Forms product from the length of a text the visitor writes. You choose what is counted (words, characters, characters without spaces or lines), which fields are counted, and how the price is built: a price per unit, a starting price that includes the first units, cheaper rates for long texts, rounding, and a minimum or maximum charge.

Visitors see the price, and optionally a short “123 words · $12.30” line, while they type. When the form is sent, the price is calculated again on the server from the submitted text, so the amount in the entry, the order summary, the notifications and the payment is always the one you configured.

Set up in 3 steps

  1. Activate — Forms → Settings → Text Pricing → enter your license key → Activate License.
  2. Add a product — in the form editor add a Paragraph (or Single Line Text) field for the text and a Single Product or Hidden product field for the price. A Total field is optional.
  3. Price it — open the form → Settings → Text Pricing. On the product’s card switch on Price by text length, tick the field(s) to count, choose the unit and enter the price per unit. Use Try it to check a few counts, then Save.
Text Pricing tab on a translation quote form: the Translation card counts words from "Your text" at $0.10, with a $5 starting price that includes 100 words and a Try it line
Text Pricing tab on a translation quote form: the Translation card counts words from "Your text" at $0.10, with a $5 starting price that includes 100 words and a Try it line

Settings reference

Form → Settings → Text Pricing

Setting What it does
Use text length pricing on this form Master switch for the form. Off: products keep their own price.
Price by text length (per product card) Turns pricing on for this Single Product or Hidden product field.
Count from One or more Paragraph, Single Line Text, Post Body, Post Title or Post Excerpt fields. Their counts are added up. A field hidden by conditional logic counts nothing.
Count Words, Characters, Characters not counting spaces, or Lines.
Price per unit The rate, up to 6 decimals (for example 0.015 per character).
Starting price Charged as soon as there is any text.
Units included in the starting price The first units that the starting price covers (for example 100 words for $5).
Volume rates Up to three ranges: “From unit 501 on, 0.08 per unit”. Each unit is charged at the rate of the range it falls in.
Rounding To the cent, up to the next 0.05, or up to a whole amount.
Minimum charge / Maximum charge The price never goes below the minimum (once there is text) or above the maximum.
When the text is empty Charge nothing (default) or charge the starting price.
Show the count and price under the text Adds “123 words · $12.30” under the last counted field, read by screen readers with the field.
Try it Type a number of units to see the price with the settings on the card. Not saved.
Translation quote form: the customer types 250 words and sees "250 words · $20.00", the product prices and the total update
Translation quote form: the customer types 250 words and sees "250 words · $20.00", the product prices and the total update

How units are counted

Unit Counted as
Words Pieces of text between spaces that contain a letter or a digit. Chinese and Japanese characters count one word each.
Characters Every character, spaces included, line breaks not included.
Characters not counting spaces Every character except spaces, tabs and line breaks.
Lines Lines that contain text; empty lines are not counted.

Rich text (Paragraph with the visual editor, Post Body) is counted without its formatting; paragraphs and line breaks count as lines.

Forms → Settings → Text Pricing

License, a short how-to, and Upgrade tools (see Upgrading from 1.x).

Typesetting card on a phone: lines with volume rates from line 4 and line 10, rounded up to a whole amount
Typesetting card on a phone: lines with volume rates from line 4 and line 10, rounded up to a whole amount

Recipes

  • Translation quote: Paragraph “Text to translate” → product “Translation”: Words, $0.10 per word, starting price $5 including 100 words, minimum $15.
  • Classified ad: Paragraph “Ad text” → Hidden product “Ad”: Words, $0.50, rounding up to a whole amount, maximum $40.
  • Engraving: Single Line Text “Engraving” → product “Engraving”: Characters not counting spaces, $1.20, starting price $10 including 8 characters.
  • Long documents: Words, $0.12, volume rates from word 2,001 at $0.10 and from word 10,001 at $0.08.
  • Several texts, one price: tick “Headline” and “Body” in Count from to add up both fields.
  • Several services, one text: price “Translation” and “Proofreading” from the same Paragraph with different units and rates.

Upgrading from 1.x

Already using version 1? Update as usual: your prices move to the new Text Pricing tab automatically and your earlier settings are kept. To go back to version 1 later, first click Write prices back for version 1 in Forms → Settings → Text Pricing, then install version 1.

Update as usual. On the first load, version 2 copies each form’s earlier settings (field to count, price per word, base price and words included) to the new Text Pricing tab, copies your license key, and shows a notice listing the forms to review. Your earlier settings stay in place, and prices are now always calculated on the server.

  • The live count line is off for prices moved from version 1, so the form looks as before. Switch it on per product.
  • Version 1 applied the base price and words included even when “base price” was switched off; version 2 keeps that and says so in the notice.
  • Pieces of text made only of punctuation (” – “, “&”) are no longer counted as words.
  • Going back to version 1 after changing prices here: Forms → Settings → Text Pricing → Write prices back for version 1 (or wp gfx-textprice write-back) first, then install version 1. A backup is kept, and settings version 1 cannot use (other units, volume rates, rounding, limits) are listed.

Developer reference

Hook Arguments Use
gravityextra/text_price/rule (filter) $rule, $form, $product_field_id Change a rule at runtime.
gravityextra/text_price/units (filter) $count, $text, $unit, $rule, $form Change the count of one field.
gravityextra/text_price/price (filter) $price, $units, $rule, $form Change the final price.
gravityextra/text_price/countable_field (filter) $supported, $field Allow or exclude a field in “Count from”.

The browser shows a preview with the same formula; when a PHP filter changes a price, the server value is charged. WP-CLI: wp gfx-textprice write-back [--dry-run].

Changelog

2.0.0 (October 14, 2026): new name and Text Pricing tab, words, characters and lines, several counted fields, starting price, volume rates, rounding, limits, live hint, server-side prices; version 1 prices move automatically. Full history on the add-on page.

Need help? Open a support ticket.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr