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

Gravity Forms Voice Dictation Premium Add-on Setup Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. How It Works
  3. Requirements
  4. Install and Activate
  5. Turn Dictation On
  6. For a whole form
  7. Field by field
  8. Settings Reference
  9. Language
  10. Spoken Punctuation
  11. For Visitors
  12. Works With the Rest of Your Form
  13. Accessibility
  14. Privacy
  15. Developer Hooks
  16. JavaScript
  17. PHP
  18. Troubleshooting
  19. Frequently Asked Questions
  20. Does it record or store the audio?
  21. Does it use an outside service or API key?
  22. Does it work in Firefox?
  23. Does it work offline?
  24. Will it slow my pages down?
  25. Can I add transcription with my own service?
  26. Let visitors speak instead of type

Video walkthrough

Gravity Forms Voice Dictation: Microphone Buttons, Privacy Hint and Per-Field Settings
Watch: set up voice dictation buttons for Gravity Forms on the WordPress side. Watch on YouTube

Voice Dictation adds a microphone button to Single Line, Paragraph and Name fields in Gravity Forms. A visitor presses the button, speaks, and the words appear in the field while they talk. Nothing else changes: the entry holds ordinary text, your notifications, conditional logic, calculations and add-ons see the same value as if it had been typed. This guide covers requirements, setup, every setting, the browsers that work, privacy, accessibility and the developer hooks.

How It Works

Modern browsers have speech recognition built in. Chrome, Edge and Safari (on computers, Android phones and iPhones) can turn microphone audio into text through the standard SpeechRecognition interface. The add-on is a thin, careful layer on top of that interface: it draws the button, starts and stops the browser’s recognition, writes the text into the field and keeps the form working with AJAX, multi-page navigation and Save and Continue.

The add-on has no speech service of its own and no account. It records no audio, uploads no audio and stores nothing. The only thing that reaches your site is the text that is in the field when the visitor submits the form.

Where the audio goes

The browser, not this add-on, does the recognition. Some browsers send the audio to the browser maker’s servers to turn it into text. That is a data transfer between your visitor and the browser maker. The add-on shows a short hint about it under the first dictation field, and adds suggested wording to the WordPress privacy policy guide. See the Privacy section below.

A Contact the studio form on the site: the Subject field holds the text Wheel throwing class with a round microphone button at its right edge, a short privacy hint sits underneath, and the Message paragraph field is highlighted with a red border and a red microphone button while the line Listening, speak now shows below it and the spoken text appears in the box
The microphone button and the listening state: a red button, a red border and a status line, with the words appearing as they are spoken.

Requirements

  • WordPress 6.5 or newer, PHP 7.4 or newer, Gravity Forms 2.9 or newer (tested with 2.9 and 3.1).
  • A visitor browser with speech recognition: Chrome, Edge or Safari. Firefox does not offer it yet.
  • Your site on HTTPS. Browsers only allow microphone access on secure pages (a local development address also works).
  • A working microphone and permission, which the browser asks for the first time.

Install and Activate

  1. Upload the add-on in Plugins → Add New → Upload Plugin and activate it.
  2. Open Forms → Settings → Voice Dictation, enter your license key and activate it.
  3. Choose the defaults on the same page (language, spoken text, continuous mode, punctuation, privacy hint). The defaults work for most sites.

Turn Dictation On

There are two ways, and they work together.

For a whole form

Open the form, go to Settings → Voice Dictation and set Microphone buttons to On every Single Line, Paragraph and Name field. Every field of those types in the form gets a button, except the ones you switch off. The same page sets the language, how the text is inserted, continuous mode and spoken punctuation for this form only.

Field by field

In the form editor, select a Single Line, Paragraph or Name field and open its settings. The Voice dictation setting has three choices: Use the form setting (the default), On: show a microphone button and Off. Use On to add a button to one field of a form that is otherwise left alone, and Off to remove it from one field of a form that uses the all-fields setting, for example a code or a name of a product.

A Class booking form where every Single Line, Paragraph and Name field has a microphone button: the first and last name inputs, Class level, Goals and Short code, while the Email, Seats, Private note, masked Phone and rich text Formatted notes fields have none
Turn it on for the whole form: text, paragraph and name inputs get a button, other field types and fields set to Off do not.

Fields that never get a button

Email, number, phone, date, drop-downs and the other field types never get a button. A Single Line field with an input mask, and a Paragraph field with the rich text editor, are skipped too, because dictated text would break the mask or the editor. On a Name field the first, middle and last name inputs get a button; prefix and suffix, which are short lists, do not.

Settings Reference

Setting Where What it does
Microphone buttons Form settings Only on fields set to On, or on every Single Line, Paragraph and Name field.
Voice dictation Field settings Use the form setting, On, or Off for one field.
Language Plugin and form The language the visitor speaks. Automatic follows the site language; 40 or more languages are listed.
Spoken text Plugin and form Add to the text already in the field, or replace it.
Keep listening until the visitor stops Plugin and form Off: dictation ends by itself after a pause. On: it keeps going until the button is pressed again.
Spoken punctuation Plugin and form Turns spoken words such as comma and question mark into the marks (English, Spanish, French, German).
Privacy hint and text Plugin A short hint under the first dictation field of each form, with your own wording if you prefer.
Firefox note Plugin Tells Firefox visitors that dictation is not available. Other browsers without support show nothing.

A form setting left on Use the default follows the plugin setting. Change a default once and every such form follows.

Language

The recognition engine needs to know the language that will be spoken. Choose it in the plugin settings, or per form for a Spanish page next to an English one. The default Automatic reads the language of your site (for example en_US becomes en-US, pt_BR becomes pt-BR) and follows it when a translation plugin switches the language of a page.

The browser supports the languages its own speech service supports, which is a long list for Chrome, Edge and Safari. If a browser cannot recognise the chosen language, the visitor sees a short message instead of a silent failure.

Spoken Punctuation

Speech engines usually write what they hear, so “hello comma how are you question mark” arrives as those words. With spoken punctuation on, the add-on turns the words into marks in English, Spanish, French and German:

Say (English) You get
comma, period or full stop , and .
question mark, exclamation mark ? and !
colon, semicolon : and ;
new line, new paragraph (Paragraph fields) a line break, a blank line

After a full stop, question mark or exclamation mark the next word gets a capital letter, and in a Paragraph field the first word does too. Single Line fields never get a capital on the very first word, because they often hold names, codes or titles. In other languages the text is inserted exactly as the browser returns it, because punctuation words there are not reliable enough to replace. If your visitors dictate a lot of text in which the word “period” has its normal meaning, turn spoken punctuation off for that form.

For Visitors

  • Press the microphone button. The first time, the browser asks to use the microphone: choose Allow.
  • Speak. The words appear while you talk, and the button, the border and a line of text show that it is listening.
  • Press the button again, press Escape, or pause (in the default mode) to stop. Switching to another field stops the first.
  • Correct anything by typing. Dictation and typing mix freely.
  • If the microphone is blocked the field says so and explains where to allow it.

Works With the Rest of Your Form

Situation What happens
AJAX forms The buttons come back after every validation message and confirmation. The text is kept.
Multi-page forms Fields on every page get their button; text survives Next and Previous.
Save and Continue Dictated text is saved with the draft like typed text; the resumed form has the buttons again.
Several forms on one page Each form has its own language and settings. Only one microphone listens at a time.
Conditional logic, calculations, character counters They react because the field fires normal input and change events.
Maximum length Dictated text is cut at the maximum length of the field.
The Gravity Forms entry detail of the Contact the studio form showing the Subject wheel class again, the Message Can I join on saturday and the Email, all saved as ordinary text
What you get on the entry: plain text, exactly like typed text. No audio is stored.

Accessibility

  • Every button is a real button with a label that includes the field name, and a pressed state for screen readers.
  • A polite status line announces listening, stopped and errors.
  • Keyboard: Tab to the button, Enter or Space to start and stop, Escape to stop.
  • The listening state is shown by colour, a changed border, an animation and text; with reduced motion the animation is replaced by a steady ring.
  • On touch screens the buttons are 44 pixels, and dictation is a help for people who find typing hard.

Privacy

This add-on does not record, upload or store audio, and it has no speech service. Chrome, Edge and Safari do the recognition, and some of them send the audio to the browser maker’s servers for that. Firefox has no speech recognition, so nothing is sent there. Tell your visitors, which the built-in hint does in one sentence, and mention it in your privacy policy. The add-on registers suggested wording in Settings → Privacy → Policy Guide that you can copy and adjust.

Because the add-on stores nothing of its own, there is no personal data of its own to export or erase: the dictated text is an ordinary entry value and is handled by the Gravity Forms personal data tools like any other field.

Developer Hooks

JavaScript

The gevd_transcript filter receives the final text of each phrase (after spoken punctuation) and can change it. The context holds the input, the form id, the field id and the language. The gevd:transcript event fires on the input for interim and final text, and gevd:state reports when listening starts and stops.

// Make dictated text uppercase in one field and tell your own script about every phrase.
gform.addFilter( 'gevd_transcript', function ( text, ctx ) {
    if ( ctx.field === '4' ) {
        return text.toUpperCase();
    }
    return text;
} );

document.addEventListener( 'gevd:transcript', function ( e ) {
    // e.detail.text, e.detail.isFinal, e.detail.lang; e.target is the input
    console.log( e.detail.isFinal ? 'final' : 'interim', e.detail.text );
} );

There is no outside transcription service in this add-on. If you want to send audio to a service of your own, do it in your own code; the filter and events are the place to hook in.

PHP

gevd_enabled_for_field decides per field, gevd_field_config changes the settings printed for a field (language, mode, continuous, commands) and gevd_languages changes the language list in the settings.

// Never show a microphone on the field with CSS class no-voice.
add_filter( 'gevd_enabled_for_field', function ( $on, $field, $form ) {
    return ( false !== strpos( (string) $field->cssClass, 'no-voice' ) ) ? false : $on;
}, 10, 3 );

// Force one language for a form, whatever the settings say.
add_filter( 'gevd_field_config', function ( $data, $field, $form ) {
    if ( 12 === (int) $form['id'] ) {
        $data['lang'] = 'pt-BR';
    }
    return $data;
}, 10, 3 );

Troubleshooting

Problem Check
No button appears Is the field a Single Line, Paragraph or Name field, switched on for the form or the field, without an input mask or rich text editor? Is the page on HTTPS and the browser Chrome, Edge or Safari?
The button appears and nothing is typed The browser may have the microphone blocked for your site. Click the lock icon in the address bar, allow the microphone and try again.
Words are recognised in the wrong language Set the language for the form or in the plugin settings. Automatic follows the site language.
Words repeat on an Android phone The add-on already uses pause mode there. Update the browser and the Google speech service of the phone.
The words period or comma appear as text Spoken punctuation works in English, Spanish, French and German and only when it is switched on for the form.

Frequently Asked Questions

Does it record or store the audio?

No. Only the text of the field is submitted and saved, like typed text.

Does it use an outside service or API key?

No. It uses the speech recognition built into the visitor’s browser. There is no key, no account and no monthly fee for speech.

Does it work in Firefox?

Firefox does not offer speech recognition at the moment, so the button is not shown and the field works as usual. Firefox visitors get a short note unless you turn it off.

Does it work offline?

That depends on the browser. Some can recognise speech on the device, many need a connection to their speech service.

Will it slow my pages down?

The script is small and loads only on pages with a form that has a dictation field. It makes no request to another site.

Can I add transcription with my own service?

Yes, with your own code and the developer hooks. The add-on itself ships no outside transcription.

Let visitors speak instead of type

A microphone button for text, paragraph and name fields, using the browser’s own speech recognition.

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