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

Gravity Forms Editor Focus Mode Premium Add-on Setup Guide

Updated 5 min read Gravity Forms Form Design & UX
On this page
  1. Video walkthrough
  2. What it does
  3. Set up in 3 steps
  4. Settings reference
  5. Forms → Settings → Editor Focus Mode (site defaults)
  6. Preferences (inside the focus editor)
  7. Inside the editor
  8. Keyboard
  9. Recipes
  10. Upgrading from 1.x
  11. Developer reference
  12. Changelog

Video walkthrough

Edit Gravity Forms Calculation Formulas & HTML Full Screen (Live Formula Check)
Video tutorial: edit Gravity Forms formulas and HTML full screen with a live formula check Watch on YouTube

What it does

Editor Focus Mode opens long Gravity Forms settings in a full-screen editor. The form editor’s sidebar keeps HTML content, calculation formulas and post body templates in small boxes; with Editor Focus Mode a Focus button appears under each of them and opens the text in a large, distraction-free editor:

  • Line numbers and a monospace font for HTML, formulas and templates.
  • Merge tag picker: search your fields and common tags, press Enter to insert at the cursor. In a formula it only lists fields you can calculate with.
  • Formula check while you type: unbalanced brackets, fields that no longer exist, characters Gravity Forms cannot calculate with, and doubled operators.
  • HTML preview in a sandboxed frame: scripts never run, merge tags are shown as placeholders.
  • Keyboard first: Ctrl or Cmd + Shift + E opens the editor, Ctrl or Cmd + Enter applies, Esc closes (and asks first if you have changes that are not applied).
  • Site defaults and personal preferences: choose which settings get the button, whether a click inside a setting opens the editor, the text size and line wrapping.

Editor Focus Mode only works inside the form editor. Nothing is added to your forms on the front end.

Requirements: WordPress 6.5+, PHP 7.4+, Gravity Forms 2.9 or newer, an active GravityExtra license.

Set up in 3 steps

  1. Activate — Forms → Settings → Editor Focus Mode → enter your license key from My Account → License keys → Activate License.
  2. Open a form — Forms → (your form) → select an HTML field, a field with a calculation, or a Post Body field. A Focus button appears under the setting.
  3. Edit and apply — click Focus (or press Ctrl/Cmd + Shift + E inside the setting), edit, then click Apply changes (Ctrl/Cmd + Enter). Save the form as usual.
Calculation formula in the focus editor: line numbers, fields inserted from the merge tag list and the live formula check confirming brackets and fields
Calculation formula in the focus editor: line numbers, fields inserted from the merge tag list and the live formula check confirming brackets and fields

Settings reference

Forms → Settings → Editor Focus Mode (site defaults)

Setting Values What it does
Show the Focus button on Main long settings / Every long text setting Main: HTML content, calculation formulas, post body templates. Every: also field descriptions, Paragraph default values and custom field templates.
Open the focus editor with a mouse click inside a supported setting On / Off On: a click inside the small box opens the editor straight away. Keyboard focus never opens it by itself.
Text size in the focus editor 13 / 14 / 16 px Size of the editing text and line numbers.
Wrap long lines On / Off On: long lines wrap; line numbers are hidden while lines wrap.
Upgrade tools buttons Only needed when going back to version 1 (see below).

Preferences (inside the focus editor)

The Preferences button in the editor has the same four settings, each with Site default. Your choice is saved for your user account only, so one person can use large text with wrapping while another keeps the defaults.

Merge tag picker inside the focus editor: search the form's fields and common tags, press Enter to insert at the cursor
Merge tag picker inside the focus editor: search the form's fields and common tags, press Enter to insert at the cursor

Inside the editor

Part What it does
Edit / Preview tabs Preview is available for HTML content, descriptions and templates. It renders the HTML in a sandboxed frame.
Merge tags Searchable list of the form’s fields (with their parts, such as First name or City) and common tags such as {form_title} and {entry_id}. Arrow keys + Enter insert at the cursor.
Formula check Shown for calculation formulas. Updates as you type.
Status bar Line and column of the cursor, number of lines and characters.
Cancel / Apply changes Apply writes the text back into the setting; Cancel or Esc leaves it unchanged.

Keyboard

Keys Action
Ctrl/Cmd + Shift + E Open the editor for the setting that has focus (or the first visible supported setting).
Ctrl/Cmd + Enter Apply changes and close.
Esc Close the merge tag list or Preferences first, then the editor. With changes that are not applied, a bar asks Discard changes? — Esc again discards.
Tab / Shift + Tab Move between the editor’s controls; focus stays inside the editor until it closes, then returns to where you were.
HTML preview tab: the HTML content rendered in a sandboxed frame, with merge tags shown as placeholders
HTML preview tab: the HTML content rendered in a sandboxed frame, with merge tags shown as placeholders

Recipes

  1. Long HTML intro — paste a full HTML block into an HTML field, check it on the Preview tab, apply.
  2. Order total with tax — in a Number field with a calculation, insert {Quantity:2} and {Unit price:3} from Merge tags and type * 1.2; the check confirms brackets and fields before you apply.
  3. Fix a broken formula — after deleting a field, open the formula: the check lists the missing field ID so you can replace it.
  4. Post body template — build the post body of a user-submitted story with field tags and HTML, preview it, apply.
  5. Writer-friendly descriptions — set “Every long text setting” in your Preferences to edit long field descriptions with wrapping and large text.

Upgrading from 1.x

Already using version 1? Update as usual: if your forms had the earlier editor options switched on, they become the site defaults, and nothing is removed from your forms. To go back to version 1 later, first click Write the site defaults into version 1 settings in Forms → Settings → Editor Focus Mode → Upgrade tools, then install version 1.

  • Update from the Plugins screen or upload the zip and choose “Replace current with uploaded”. The plugin stays active (same folder).
  • Version 1 kept its two options per form. On the first load, 2.0 looks at every form: if any form had “all textareas” or “open on click” switched on, those become the site defaults. A notice lists how many forms were found and links to the settings.
  • The version 1 options stay in your forms; nothing is deleted.
  • Activate your license once in Forms → Settings → Editor Focus Mode (version 1 had no license screen).
  • Going back to version 1: first click Write the site defaults into version 1 settings in Forms → Settings → Editor Focus Mode → Upgrade tools (or run wp gfx-focusedit legacy write-back), then install version 1. Undo (or wp gfx-focusedit legacy undo) restores the earlier per-form options.

Developer reference

Filter Arguments Use
gravityextra/focusedit/targets array $targets Add or remove settings that get the Focus button. Each target: key, selector (CSS selector of a textarea in the form editor), mode (html, formula, template, text), group (main, extra), label.
gravityextra/focusedit/merge_tags array $tags Extra tags for the merge tag picker: tag (for example {my_tag}), label.
gravityextra/focusedit/preferences array $values, int $user_id, array/null $form Change the effective preferences.

WP-CLI: wp gfx-focusedit legacy status | write-back [--dry-run] | undo [--dry-run].

Changelog

2.0.0 (October 14, 2026): new full-screen focus editor with line numbers, merge tag picker, formula check and HTML preview; keyboard shortcuts; site defaults and personal preferences; license and automatic updates; version 1 options carried over. 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