Menu
logologo+1-256-548-8850
TopDesignKing
Contact Form 7 Add-on

Repeater Fields for
Contact Form 7

ake your forms to the next level by allowing users to add an unlimited, or strictly limited, number of dynamic field blocks. Seamlessly collect complex data like event attendees, employment records, or inventory items – all within your existing Contact Form 7 setup.

download1,000+ Active Installsstar5/5 Ratingcheck-roundFree & Open Source
1.0.0Version
RegularlyLast Updated
5.0+Requires WP
6.4+Tested Up To

Overview

Code and Core Repeater Fields for Contact Form 7 takes your classic Contact Form 7 forms to the next level by allowing users to add an unlimited, or strictly limited, number of dynamic field blocks.

Whether you are collecting an unknown number of attendees for an event, gathering past employment history records, dynamically submitting multiple file uploads, or tracking an indefinite list of inventory items the Repeater Extension seamlessly integrates directly into your Contact Form 7 editor, providing the ultimate solution for complex form data collection.

If you are looking to create highly converting, dynamic WordPress forms, the Code and Core Repeater Fields for CF7 plugin is an essential add-on. Gone are the days of creating tedious, hard-coded long forms with dozens of unnecessary inputs. By allowing your website visitors to recursively duplicate form field groups or “add more rows” on the fly, you instantly streamline the user experience, improve your form submission rates, and collect cleanly structured data arrays.

This lightweight, developer-friendly CF7 repeater extension is fully optimized for performance and modern WordPress site architecture. Whether you urgently need a ‘CF7 add more fields’ button, dynamic repeatable multipart form rows, or a frontend input cloner, our extension handles it flawlessly. It acts as the perfect dynamic form builder solution to collect complex nested data like family member details, employment histories, or multiple product order requests directly inside your existing Contact Form 7 setup.

Key Features

Capture complex, structured data effortlessly with a flexible and performance-optimized repeater system.

  • Native CF7 Integration
    We built the repeater seamlessly into the Contact Form 7 tag generator UI. You simply click the “Repeater” button just as you would for any standard text or email tag.
  • Mail Tag Auto-Generation
    Your repeater groups appear right inside the CF7 “Mail” tab. Drop in your repeater tag (e.g., [attendees]), and the plugin automatically prints out the gathered fields!
  • Global Configuration Dashboard
    Tired of manually typing “Add Row” into every form? Use the brand-new, beautifully designed Repeater Settings panel to configure global defaults for button labels.
  • Advanced Output Formatting
    Output the collected repeating fields into your email templates as either clean HTML Tables or beautifully formatted indented Lists.
  • Limit User Inputs (Min/Max Validation)
    Restrict how many repeating blocks a user can generate. Enforce a minimum of 1 and a maximum of 5 to protect your inbox from being flooded, with smart validation natively warning the user.
  • Dynamic Field Triggers
    Link your repeater directly to other form fields (like a number input or dropdown menu). When a user types “5” into a trigger field, the repeater automatically generates exactly 5 rows instantly!
  • Asset Optimization Engine
    Don’t let your website slow down! The plugin safely enqueues JavaScript conditionally only on the pages actually rendering a CF7 Repeater shortcode.
  • 100% WPML & Translation Compatible
    All of the plugin’s interface texts, dynamic configurations, and alerts strictly run through WordPress localization hooks and WPML filter strings, guaranteeing zero compatibility issues on multi-lingual translated websites.
  • Developer Friendly Email Templating
    Need more than just Tables or Lists? Easily override the core HTML email layouts by dropping a simple PHP template file directly into your own active WordPress theme. Complete structural control without ever modifying plugin core files!

Usage & Syntax

Here are the two primary ways to implement the Repeater Field based on your dynamic form requirements:

Manual Mode (User Controlled Rows)
[repeater contact-list initial:1 max:10 add_text:”Add row” remove_text:”Remove row”]


[/repeater]

In this mode, users click “Add” to add new rows and “Remove” to delete them. This is ideal for general lists like attendees or work experience.

Auto Generation Mode (Trigger Field)



[repeater guests trigger:guest-count]

[/repeater]

This mode automatically generates a specific number of rows based on a numeric value from another field (e.g., a dropdown or number input). It removes the manual “Add Row” button for a more streamlined experience.

Email Output Example
Hello Admin, here is the submitted data:

[guests]

The plugin will automatically render the data as a professional HTML Table or a formatted List depending on your configuration.

Advanced Shortcode Example: Inline Email Lists
[repeater attendees mail_format:”list”]

[/repeater]

Want your data as a bulleted list instead of a table? Simply pass the mail_format attribute directly into your form shortcode!

Custom Email template
<?php
// Our custom overridden code-and-core-repeater-fields-mail.php template natively loading from our Theme!
foreach ($rows as $index => $row) {
echo '<div style="background: #f1f1f1; padding: 10px; margin-bottom: 5px;">';
echo '<h4>Attendee #' . ($index + 1) . '</h4>';

foreach ($sub_fields as $field_name) {
$value = isset($row[$field_name]) ? $row[$field_name] : 'N/A';
echo '<p><strong>' . esc_html($field_name) . ':</strong> ' . esc_html($value) . '</p>';
}

echo '</div>';
}
?>

Custom Template Code Example (code-and-core-repeater-fields-mail.php):
Our PHP template natively exposes $sub_fields (an array of your CF7 field names) and $rows (a 2D array containing every user submission).

Slide 1
Slide 2
Slide 3
Slide 4
Why Every Form Needs Multi-Row Inputs

Why Every Form Needs Multi-Row Inputs

  • Flexible Data Collection:
    Allow users to submit multiple entries without cluttering your form.
  • Improved User Experience:
    Replace long static forms with dynamic, interactive inputs.
  • Structured Data Output:
    Collect well-organized data ready for processing or reporting.
  • Higher Conversion Rates:
    Shorter and smarter forms improve completion rates significantly.

Dynamic Repeater vs. Standard Blocks

Upgrade your forms from static inputs to dynamic, scalable data collection systems.

Feature
RecommendedCF7 Multi-Row Repeater
Standard Field Blocks
Dynamic Row Addition
CF7 Multi-Row Repeater
Standard Field Blocks
Nested Repeaters
CF7 Multi-Row Repeater
Standard Field Blocks
Email Table Output
CF7 Multi-Row Repeater
Standard Field BlocksLimited
Trigger-Based Rows
CF7 Multi-Row Repeater
Standard Field Blocks

Your
Questions,
Answered

Do you have any further questions or concerns? Our experts are just one click away from addressing them!

Does this support conditional logic? plus icon

The plugin focuses on repeating fields and works alongside most Contact Form 7 conditional logic extensions.

Can I put REQUIRED fields (like [text*]) inside a repeater block? plus icon

Absolutely. Our plugin ties directly into CF7’s JS controller. If a user duplicates a block that contains a required field, the entire form’s validation will safely block submission until all duplicated required fields are completely filled out.

How do I change the default CSS (colors, margins)? plus icon

The Repeater Extension outputs clean frontend HTML with specific classes (.wpcf7-repeater-wrap.wpcf7-repeater-btn-add, etc.). We have included a “Disable Default CSS” toggle located in Contact > Repeater Settings, allowing you to completely strip our styling and use your own Theme’s custom CSS parameters perfectly.

How do I completely customize the Email Template HTML? plus icon

If the default ‘Table’ or ‘List’ formats do not suit your needs, you can easily override the underlying PHP email template safely from your theme! Please read the Custom Email Template section above for full instructions.

What does the "Trigger Field" option do? plus icon

The Trigger Field evaluates another field in your form (like a Dropdown or Number Input) and automatically generates that exact number of rows! For example, if you have a dropdown asking “How many tickets do you need?” with the name ticket-count, you can type ticket-count into the Trigger Field box. When a user selects “3”, the plugin will instantly and automatically generate 3 attendee row blocks for them!

Looking for reliable white label services?

At Code and Core, your data is safe with top-tier encryption. For extra peace of mind, we're happy to sign an NDA to ensure full confidentiality

Hire Us
Let's Talk
  • Pay roll Basis
  • Hire Tech Pool
  • Maintenance of Existing Project
  • Fixed Price Project
  • Hourly Based
  • Something Else
imagelogo
close

Welcome to LiveChat

We are here to help you! Chat or WhatsApp to connect with us right away.
chatimgk
Chat
whatsappimgk
WhatsApp
scheduleimgk
Schedule