Contact Form 7 – Repeatable Fields

plugin banner

Adds repeatable groups of fields to Contact Form 7.

Author:Felipe Elia (profile at wordpress.org)
WordPress version required:7.1
WordPress version tested:7.1.5
Plugin version:3.0.0
Added to WordPress repository:19-03-2018
Last updated:17-11-2026
Rating, %:86
Rated by:21
Plugin URI:https://github.com/felipeelia/cf7-repeatable-...
Total downloads:60 282
Active installs:5 000+
plugin download
Click to start download

This plugin adds repeatable groups of fields to Contact Form 7.

Requires Contact Form 7 6.2.5 or newer.

Usage

Form tab

Wrap the desired fields with [field_group your_group_id_here][/field_group]. The shortcode accepts additional parameters, in WP shortcode format and in CF7 fields parameters format as well.

Example:

[field_group emails id="emails-groups" tabindex:1]
    <label>Your Email (required)[email* your-email]</label>
    [radio your-radio use_label_element default:1 "radio 1" "radio 2" "radio 3"]
    [select* your-menu include_blank "option1" "option 2"]
    [checkbox* your-checkbox "check 1" "check 2"]
[/field_group]

Mail tab

In the mail settings, wrap the fields with your group id. You can use the [group_index] tag to print the group index and an additional __<NUMBER> to print a field at a specific index.

Example:

The second email entered by the user was: [your-email__2]

These were the groups:
[emails]
GROUP #[group_index]
    Checkbox: [your-checkbox]
    E-mail: [your-email]
    Radio: [your-radio]
    Select: [your-menu]
[/emails]

Upgrading to 3.0.0

  • Requires WordPress 7.1+, PHP 8.3+, and Contact Form 7 6.2.5+.
  • Group events now use native DOM CustomEvents. Update integrations using jQuery event handlers; the plugin no longer loads jQuery. See the JavaScript events documentation for the event payloads and migration details.
  • The default buttons now read “Add group” and “Remove group”, and adding/removing a row moves keyboard focus. Existing button filters still work.
  • IDs inside repeated rows, including the first row, receive unique suffixes. Update CSS and JavaScript that target these IDs to use classes or field names, and keep label/ARIA references inside their row.
  • Group names accept only letters, numbers, underscores, and hyphens. Rename groups using other characters in both the form and mail templates.
  • The server accepts at most 50 rows per submitted group by default. Additional rows are not processed for validation or mail. This does not limit the frontend add button. If your form needs more rows, adjust the wpcf7_field_group_max_rows filter before upgrading.

Check out the Wiki

Contribute

You can contribute with code, issues and ideas at the GitHub repository.

If you like the plugin, a review is appreciated ????


FAQ
ChangeLog