Title: Contact Form 7 &#8211; Repeatable Fields
Author: Felipe Elia
Published: <strong>مارس 19, 2018</strong>
Last modified: اوکتوبر 22, 2024

---

Search plugins

![](https://ps.w.org/cf7-repeatable-fields/assets/banner-772x250.png?rev=2942207)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cf7-repeatable-fields/assets/icon-256x256.png?rev=2942207)

# Contact Form 7 – Repeatable Fields

 By [Felipe Elia](https://profiles.wordpress.org/felipeelia/)

[Download](https://downloads.wordpress.org/plugin/cf7-repeatable-fields.2.0.2.zip)

 * [Details](https://azb.wordpress.org/plugins/cf7-repeatable-fields/#description)
 * [Reviews](https://azb.wordpress.org/plugins/cf7-repeatable-fields/#reviews)
 * [Development](https://azb.wordpress.org/plugins/cf7-repeatable-fields/#developers)

 [Support](https://wordpress.org/support/plugin/cf7-repeatable-fields/)

## Description

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

**NOTE:** Tested with Contact Form 7 5.7.7.

### 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]
    ```

### Check out the Wiki

 * [Hooks available](https://github.com/felipeelia/cf7-repeatable-fields/wiki/Hooks)–
   How to customize the _add_ and _remove_ buttons
 * [Frequently Asked Questions](https://github.com/felipeelia/cf7-repeatable-fields/wiki/Frequently-Asked-Questions)

### Contribute

You can contribute with code, issues and ideas at the [GitHub repository](https://github.com/felipeelia/cf7-repeatable-fields).

If you like the plugin, [a review](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/#new-post)
is appreciated 🙂

## FAQ

### I have a problem with the plugin. Where can I get help?

If you have identified a bug or would like to suggest an enhancement, please refer
to our [GitHub repo](https://github.com/felipeelia/cf7-repeatable-fields). I do 
not provide support here at WordPress.org forums.

### My question is not listed here. Can I search somewhere else?

Yes! Give a look at the [Frequently Asked Questions](https://github.com/felipeelia/cf7-repeatable-fields/wiki/Frequently-Asked-Questions)
section of our wiki.

## Reviews

![](https://secure.gravatar.com/avatar/e44d017256488614fe23753b0db94cadb37088856241423ceee37148914fbee5?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin for Dynamic Forms](https://wordpress.org/support/topic/excellent-plugin-for-dynamic-forms-2/)󠁿

 [David Klhufek](https://profiles.wordpress.org/brtak/) ژانویه 12, 2025

This plugin was a lifesaver for a recent project, allowing me to add repeatable 
fields effortlessly to my Contact Form 7 forms. Simple setup, works perfectly—highly
recommended!

![](https://secure.gravatar.com/avatar/4e1fc0f7f6bcde8a985908b009d0900aa52f0c2d905bbb39fe2467f3ba7830b8?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/plugin-not-wokting/)󠁿

 [Ajay Malik](https://profiles.wordpress.org/ajaymalik14/) ژانویه 13, 2024 3 replies

Plugin throwing error while clicking on submit

![](https://secure.gravatar.com/avatar/396d787166eedddcfd3f4e63d580319e01a960e778e080d197ec1d869bae39a7?
s=60&d=retro&r=g)

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-12893/)󠁿

 [Mário Valney](https://profiles.wordpress.org/mariovalney/) جولای 29, 2023

A excellent addon to CF7!

![](https://secure.gravatar.com/avatar/f2d6b02ea13a8324cfaa4a63a18179effffda4421f6d49afcde171bfa2fead75?
s=60&d=retro&r=g)

### 󠀁[This plugin still works](https://wordpress.org/support/topic/this-plugin-still-works-3/)󠁿

 [Md Abdur Razzaq Masum](https://profiles.wordpress.org/masummdar/) ژون 21, 2023

I just used this plugin for a client project and it works fine. I am using on WordPress
Version6.2.2 and Contact Form7 Version 5.7.7 Thanks author for sharing this awesome
plugin free for the community.

![](https://secure.gravatar.com/avatar/bb007e2d810b13483277a330a1be558bae6cc5bd7f3935eed1122d2127d8e0fb?
s=60&d=retro&r=g)

### 󠀁[Abandoned plugin](https://wordpress.org/support/topic/abandoned-plugin-71/)󠁿

 [alexio101](https://profiles.wordpress.org/alexio101/) سپتامبر 21, 2022

Unfortunately this plugin didnt get any updates for many years.

![](https://secure.gravatar.com/avatar/e1f181a7a9d0d34559e92d507d0ceddd25e577fcb8eb3ef65f0146e0974d9401?
s=60&d=retro&r=g)

### 󠀁[Very Useful, Thanks!](https://wordpress.org/support/topic/very-useful-thanks-21/)󠁿

 [swcomm](https://profiles.wordpress.org/swcomm/) مارس 3, 2021

Quick and easy way to add a simple repeater. Working fine for me on WP 5.6.2 and
CF7 5.4. Thanks for making it available.

 [ Read all 21 reviews ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/)

## Contributors & Developers

“Contact Form 7 – Repeatable Fields” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Felipe Elia ](https://profiles.wordpress.org/felipeelia/)

“Contact Form 7 – Repeatable Fields” has been translated into 7 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/cf7-repeatable-fields/contributors)
for their contributions.

[Translate “Contact Form 7 – Repeatable Fields” into your language.](https://translate.wordpress.org/projects/wp-plugins/cf7-repeatable-fields)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cf7-repeatable-fields/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cf7-repeatable-fields/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cf7-repeatable-fields/)
by [RSS](https://plugins.trac.wordpress.org/log/cf7-repeatable-fields/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.2 – 2024-10-22

**This is a security release.** It fixes a Stored cross-site scripting (XSS) vulnerability,
that allowed users with contributor-level access and above, to inject arbitrary 
web scripts in pages that will execute whenever a user accesses an injected page.
Thanks to Peter Thaleikis and the Wordfence team for reaching out about it.

**Added:**

 * New `wpcf7_field_group_content` filter. Props [@Tessachu](https://github.com/Tessachu)
   and [@felipeelia](https://github.com/felipeelia).
 * End-to-end basic tests. Props [@felipeelia](https://github.com/felipeelia).

**Changed:**

 * Node version to v20. Props [@felipeelia](https://github.com/felipeelia).

**Security:**

 * Sanitize wrapper div attributes. Props Peter Thaleikis and [@felipeelia](https://github.com/felipeelia).
 * Bumped `postcss` from 8.4.26 to 8.4.31. Props [@dependabot](https://github.com/dependabot).
 * Updated `ws` from 8.13.0 to 8.18.0. Props [@dependabot](https://github.com/dependabot).
 * Updated `@wordpress/scripts` from 27.7.0 to 30.3.0. Props [@dependabot](https://github.com/dependabot).
 * Bumped `braces` from 3.0.2 to 3.0.3. Props [@dependabot](https://github.com/dependabot).
 * Bumped `webpack` from 5.91.0 to 5.94.0. Props [@dependabot](https://github.com/dependabot).
 * Bumped `express` from 4.18.2 to 4.19.2. Props [@dependabot](https://github.com/dependabot).
 * Bumped `follow-redirects` from 1.15.2 to 1.15.6. Props [@dependabot](https://github.com/dependabot).
 * Bumped `webpack-dev-middleware` from 5.3.3 to 5.3.4. Props [@dependabot](https://github.com/dependabot).
 * Bumped `@babel/traverse` from 7.22.8 to 7.23.2. Props [@dependabot](https://github.com/dependabot).
 * Several node packages updated. Props [@felipeelia](https://github.com/felipeelia).

#### 2.0.1 – 2023-09-11

**Added:**

 * End-to-end tests foundation.

**Changed:**

 * Removed unnecessary files from final package.

**Fixed:**

 * Required checkbox not showing validation messages.

#### 2.0.0 – 2023-07-23

**Note that this version changes minimum required versions of:**

 * [WordPress](https://wordpress.org): 6.0+
 * [PHP](https://php.net/): 7.2+
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/): 5.7+

This release marks the (slow) resumption of this plugin development. If you want
to know more about it check out [this blog post](https://felipeelia.dev/contact-form-7-repeatable-fields-2-0-0/).
If you find this plugin useful, consider leaving it [a review](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/#new-post).

**Added:**

 * Support to [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/).
 * `group_id` as a parameter to all filters.
 * Very basic unit testing.

**Changed:**

 * Linting tools and script build process.
 * Docs were migrated to [GitHub wiki](https://github.com/felipeelia/cf7-repeatable-fields/wiki).

**Fixed:**

 * Validation problem with Contact Form 5.7+. Props [@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/).

#### 1.1.3 – 2019-12-11

 * Update WP `Tested up to` field
 * Apply WP Coding Standards
 * Fix a small sanitization problem

#### 1.1.2 – 2019-10-10

 * Fix Exclusive Checkboxes

#### 1.1.1 – 2019-09-04

 * Add compatibility to formatted dates (`[_format_{field name} "{date format}"]`)
 * DEV: Copy data and events while cloning a new group (JS)
 * DEV: Pass `$new_group` as an extra param for the `wpcf7-field-groups/added` event.
 * DEV: Apply some WPCS rules and add a CF7_REPEATABLE_FIELDS_VERSION const (may
   affect JS cache)

#### 1.1 – 2018-06-14

 * Replace groups in mail 2 field

#### 1.0.2 – 2018/03/29

 * Fix repeated tags in mail body

#### 1.0.1 – 2018/03/20

 * Fix the `wpcf7_field_group_remove_button_atts` filter name. Props to @asilvestre87

#### 1.0.0 – 2018/03/19

 * Initial release

## Meta

 *  Version **2.0.2**
 *  Last updated **1 ایل ago**
 *  Active installations **6٫000+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/cf7-repeatable-fields/), 
   [Czech](https://cs.wordpress.org/plugins/cf7-repeatable-fields/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/cf7-repeatable-fields/),
   [English (US)](https://wordpress.org/plugins/cf7-repeatable-fields/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/cf7-repeatable-fields/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/cf7-repeatable-fields/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/cf7-repeatable-fields/), و
   [Spanish (Spain)](https://es.wordpress.org/plugins/cf7-repeatable-fields/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/cf7-repeatable-fields)
 * Tags
 * [cf7](https://azb.wordpress.org/plugins/tags/cf7/)[contact form 7](https://azb.wordpress.org/plugins/tags/contact-form-7/)
   [repeatable](https://azb.wordpress.org/plugins/tags/repeatable/)[repeater](https://azb.wordpress.org/plugins/tags/repeater/)
 *  [Advanced View](https://azb.wordpress.org/plugins/cf7-repeatable-fields/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  17 5-star reviews     ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/)

## Contributors

 *   [ Felipe Elia ](https://profiles.wordpress.org/felipeelia/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cf7-repeatable-fields/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://felipeelia.dev/contact-form-7-repeatable-fields/)