Create a voice form

On this page

A voice form is a recorder your visitors use to send you a voice message. You can create as many forms as you like, each with its own texts, time limit and email alerts.

Create a new form

  1. Go to Voice Widgets Pro > Voice Forms > Add New.
  2. Enter a title, for example "Contact by voice". Visitors don't see the title. It helps you find the form later.
  3. Fill in the Form Options box (see below).
  4. Set up Set Notification emails for form submissions if you want email alerts.
  5. Click Publish.
Editing a voice form, with Form Options, the Shortcode box, recent Voice Messages and the notification email settings

Tip

New forms start with the texts from Settings > Default Messages. Change those defaults first if you plan to create many forms. See Default messages and custom CSS.

Form Options

These settings control what visitors see and how long they can record.

  • Max Recording Duration: the longest recording allowed, in seconds. Enter 0 to use the global limit from Settings > General.
  • Before Text: the heading and intro shown before recording starts, for example "We would love to hear from you!".
  • Caption: the label on the record button. The default is "Record".
  • Button labels: rename the Save, Reset, Stop, Pause, Resume, Back, Start A New Message and Try Again buttons.
  • After Text: shown after the message is sent.
  • Speak Now Text: shown while the visitor is recording. You can use these placeholders:
    • {timer} shows the elapsed time.
    • {max-duration} shows the time limit.
    • {countdown} shows the time left.
  • Send Recording Text: shown while the recording uploads.
  • Thank You Text: shown when the message has been received.
  • Additional fields: turn this on to ask for extra details, such as name or email, along with the recording.

Note

Additional fields does not apply when the form is used inside Contact Form 7. Use Contact Form 7's own fields there instead.

Email notifications

In Set Notification emails for form submissions:

  1. Leave Enable email notifications on. It is on by default.
  2. Enter one or more email addresses, separated by commas.
  3. Edit the Emails Subject. The default is "You have received a new voice message."
  4. Edit the Emails Body if you want a custom message.

Each email includes:

  • a link to the recording and a View Voice Recording link
  • any additional fields the visitor filled in
  • the visitor's browser details and IP address
  • the time of the recording

Tip

Not getting emails? Many hosts block WordPress mail. Install an SMTP plugin to send mail reliably.

Add the form to a page

The Shortcode box on the form screen shows the code for your form, for example:

[wpvoicemessage id="123"]
  1. Copy the shortcode.
  2. Edit the page or post where the form should appear.
  3. Add a Shortcode block and paste it in.
  4. Update the page.

You can also use the form title instead of the ID: [wpvoicemessage title="Contact by voice"].

Here is how a form looks to visitors:

A voice form on the front end with the heading "We would love to hear from you!" and a Record button

How visitors record a message

  1. The visitor clicks Record. The browser asks for microphone access. They must allow it.
  2. They speak, then click Stop. They can Pause and Resume along the way.
  3. They can listen back, Reset to start over, or Save to send.
  4. They see your Thank You Text. The message appears in Voice Records.

Warning

Recording only works on pages served over HTTPS.

See messages for this form

The Voice Messages box on the form screen lists the latest recordings sent through this form. To see all messages, go to Voice Records. See Manage voice messages.