| 1 |
=== Repeater Fields for Gravity Forms === |
| 2 |
Contributors: addonsorg |
| 3 |
Tags: Gravity Forms, Gravity Forms fields, Repeater, Repeater form, Repeater field |
| 4 |
Requires at least: 2.0 |
| 5 |
Tested up to: 7.1 |
| 6 |
Stable tag: 3.2.2 |
| 7 |
Requires PHP: 5.2 |
| 8 |
License: GPLv2 or later |
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 10 |
|
| 11 |
The Repeater Fields for Gravity Forms allow you to create one or more sets of fields that can be repeated. |
| 12 |
|
| 13 |
== Description == |
| 14 |
|
| 15 |
[youtube https://www.youtube.com/watch?v=gaWE0IqjYsI] |
| 16 |
|
| 17 |
**DEMO**: <https://demo.add-ons.org/demo-repeater-fields/> |
| 18 |
**Document**: <https://add-ons.org/document-gravity-forms-repeater-fields/> |
| 19 |
**Download Pro Version**: <https://add-ons.org/plugin/gravity-forms-repeater-fields/> |
| 20 |
|
| 21 |
The Repeater Fields for Gravity Forms allow you to create one or more sets of fields that can be repeated. |
| 22 |
|
| 23 |
Have you ever wanted to let your users submit multiple entries of the same field set as a single form on your WordPress site? If so, you’re in luck! This is a plugin to help you do it! |
| 24 |
|
| 25 |
### Save and Continue Later Support |
| 26 |
Fully compatible with Gravity Forms' built-in **Save and Continue Later** feature! When users save their unfinished submission and return via the save token link: |
| 27 |
* **Preserves All Repeated Rows**: All added rows are automatically re-created in their exact order. |
| 28 |
* **Restores Field Data**: Inputs including text, numbers, dates, checkboxes, radio buttons, and pricing choices are restored. |
| 29 |
* **Retains Uploaded Files**: Attachments and files uploaded inside repeater rows are safely preserved across draft sessions. |
| 30 |
|
| 31 |
== Features == |
| 32 |
- **Initial Rows & Field Mapping (Pro)**: Set custom default row counts or link repeater rows dynamically to a number/dropdown field (e.g., Number of Guests/Tickets). |
| 33 |
- **Save and Continue Later Support**: Seamlessly saves and restores all repeated rows and input values when resuming draft submissions. |
| 34 |
- **Pricing & Payment Fields (Pro)**: Calculate Product, Option, and Quantity inside Repeater rows with real-time Total calculation and payment gateway integration. |
| 35 |
- **File Uploads Support**: Allow single or multiple file uploads inside repeated rows. |
| 36 |
- **Minimum Rows**: Sets a limit on how many rows of data are required. |
| 37 |
- **Maximum Rows**: Sets a limit on how many rows of data are allowed. |
| 38 |
- **Button Label**: Customizable text shown on the ‘Add Row’ button. |
| 39 |
- **Conditional Logic support**: Supports conditional logic inside and outside repeaters. |
| 40 |
- **Date picker support**: Full date/time picker support inside repeated fields. |
| 41 |
- **Entry and print preview support**: Easily view, export, and print repeated entries. |
| 42 |
- **Drag and drop repeatable fields**: Simple and flexible form builder experience. |
| 43 |
|
| 44 |
### Pricing & Payment Fields Support (Pro) |
| 45 |
Easily create repeatable booking, ticket, quotation, or registration forms! With the Pro version, you can place Gravity Forms **Pricing Fields** (Product, Option, and Quantity) directly inside your repeaters: |
| 46 |
* **Real-time Price Calculation**: The form's Total field updates dynamically in real time as customers add, remove, or modify repeated rows. |
| 47 |
* **Supports All Product Types**: Single Product, Drop Down, Radio Buttons, User Defined Price, and Calculation products. |
| 48 |
* **Option & Quantity Support**: Sub-options (Drop Down, Radio, Checkboxes) and item quantities are calculated per individual repeater row. |
| 49 |
* **Payment Gateways Integration**: Seamlessly passes line items and totals to payment add-ons including Stripe, PayPal, Mollie, Square, and Authorize.net. |
| 50 |
* **Detailed Order Summary**: View entry details with full itemized breakdown (Row 1, Row 2, etc.) for admin review, notifications, and customer emails. |
| 51 |
|
| 52 |
### Dynamic Initial Rows Count & Field Mapping (Pro) |
| 53 |
Control exactly how many rows appear when the form loads, or bind repeater row counts dynamically to another form field: |
| 54 |
* **Custom Initial Rows Count**: Set any specific number of rows to display by default upon page load (e.g., start with 0, 1, 3, or more rows). |
| 55 |
* **Smart Field Mapping**: Connect the repeater directly to another field in your form (such as a Number, Drop Down, or Quantity field) using its Field ID. |
| 56 |
* **Instant Dynamic Row Generation**: When the user enters or selects a number (e.g., "Number of Attendees: 4"), the repeater automatically expands to create exactly 4 rows in real time. |
| 57 |
* **Streamlined User Experience**: Optionally locks the row count and hides manual "+ Add Row" / delete buttons when mapped, preventing submission mismatches for ticket bookings, group registrations, and order forms. |
| 58 |
|
| 59 |
== Pro Version == |
| 60 |
* Dynamic Initial Rows count & Field Mapping (Auto-generate rows based on user input) |
| 61 |
* Pricing & Payment Fields support (Product, Option, Quantity, Total) |
| 62 |
* Real-time Total price calculation on add/remove rows |
| 63 |
* Payment gateways integration (Stripe, PayPal, Mollie, Square, etc.) |
| 64 |
* Order summary breakdown per repeater row |
| 65 |
* File Upload Support (Single & Multi-file) |
| 66 |
* Conditional Logic support |
| 67 |
* Unlimited minimum & maximum rows |
| 68 |
* 30-day money-back guarantee |
| 69 |
* 1-year support |
| 70 |
|
| 71 |
== Installation == |
| 72 |
**Normal installation** |
| 73 |
|
| 74 |
1. Download the repeater-for-gravity-forms.zip file to your computer. |
| 75 |
2. Unzip the file. |
| 76 |
3. Upload the `repeater-for-gravity-forms` directory to your `/wp-content/plugins/` directory. |
| 77 |
4. Activate the plugin through the 'Plugins' menu in WordPress. |
| 78 |
5. Document: https://add-ons.org/document-gravity-forms-repeater-fields/ |
| 79 |
|
| 80 |
== Frequently Asked Questions == |
| 81 |
|
| 82 |
= What is "Initial Rows Count" and how does "Field Mapping" work? = |
| 83 |
**Initial Rows** allows you to choose how many rows are automatically displayed when the form loads. If you set it to 0, no rows show up until the user clicks "+ Add Row"; if set to 3, three rows appear immediately. |
| 84 |
|
| 85 |
**Field Mapping with Initial Rows** allows you to enter the Field ID of another field in the form (such as a Number or Dropdown field asking "How many guests/tickets?"). When the user selects or enters a number (e.g., 4), the repeater automatically renders exactly 4 rows in real time without requiring the user to click "+ Add Row" four times. |
| 86 |
|
| 87 |
= Does it work with Gravity Forms Save and Continue Later? = |
| 88 |
Yes! The plugin fully integrates with Gravity Forms' "Save and Continue Later" feature. When users save their progress, all repeated rows and entered field values are saved to the draft. When they open the resume token link (`?gf_token=...`), the entire repeater structure, all field values, and uploaded files are automatically restored. |
| 89 |
|
| 90 |
= Can I use Pricing, Product, and Option fields inside the repeater? = |
| 91 |
Yes! With the Pro version, you can place Product, Quantity, and Option fields between Repeater Start and Repeater End. The form Total automatically updates as users add/remove rows or change values. |
| 92 |
|
| 93 |
= Does it work with payment gateways like Stripe and PayPal? = |
| 94 |
Yes, in the Pro version, line items from each repeater row are properly registered in Gravity Forms order info (`gform_product_info`), allowing Stripe, PayPal, and all Gravity Forms payment add-ons to charge the accurate order total. |
| 95 |
|
| 96 |
= How do repeated products appear in Entry Details and Confirmation Emails? = |
| 97 |
Each repeated row is itemized in the Order Summary table (e.g., "Ticket (Row 1)", "Ticket (Row 2)") along with chosen options, quantities, and subtotal. |
| 98 |
|
| 99 |
== Screenshots == |
| 100 |
|
| 101 |
1. Frontend Working |
| 102 |
2. Backend Field |
| 103 |
3. Admin builder |
| 104 |
|
| 105 |
== Changelog == |
| 106 |
= 3.2.1 = |
| 107 |
- Added: Pricing Fields support in Repeater (Pro) - Dynamic calculation for Product, Option, Quantity fields and payment gateway integration. |
| 108 |
- Added: Full support for Save and Continue Later - Automatically preserves and restores all repeated rows, entered field values, and files when resuming via draft token link. |
| 109 |
|
| 110 |
= 3.2.0 = |
| 111 |
- Fixed: Radio field Required |
| 112 |
|
| 113 |
= 3.1.1 = |
| 114 |
- Fixed: Resolved '$element.datepicker is not a function' error by adding jquery-ui-datepicker dependency. |
| 115 |
- Fixed: security issue |
| 116 |
|
| 117 |
= 3.0.3 = |
| 118 |
- Fixed: state_validation |
| 119 |
|
| 120 |
= 3.0.1 = |
| 121 |
- Fixed: Input Mask |
| 122 |
|
| 123 |
= 3.0.0 = |
| 124 |
- Fixed: PHP Fatal error: Declaration of Superaddons_GFRepeater_Field::get_field_label |
| 125 |
|
| 126 |
= 2.5.1 = |
| 127 |
- Fixed: upload field on multi-step form |
| 128 |
|
| 129 |
= 2.5.0 = |
| 130 |
- Fixed: Phone field |
| 131 |
|
| 132 |
= 2.4.5 = |
| 133 |
- Fixed: conditional logic radio |
| 134 |
|
| 135 |
= 2.4.4 = |
| 136 |
- Added: Fixed Required upload field |
| 137 |
|
| 138 |
= 2.4.2 = |
| 139 |
- Added: Translate |
| 140 |
|
| 141 |
= 2.4.0 = |
| 142 |
- Fixed: Save datas |
| 143 |
|
| 144 |
= 2.3.5 = |
| 145 |
- Fixed: Required field |
| 146 |
|
| 147 |
|
| 148 |
= 2.3.4 = |
| 149 |
- Fixed: CSS Orbital Theme |
| 150 |
- Fixed: Date select type |
| 151 |
|
| 152 |
= 2.3.2 = |
| 153 |
- Fixed: for label |
| 154 |
|
| 155 |
= 2.2.7 = |
| 156 |
- Fixed: Checkbox label |
| 157 |
|
| 158 |
= 2.2.6 = |
| 159 |
- Fixed: Important |
| 160 |
|
| 161 |
= 2.2.5 = |
| 162 |
- Fixed: Compatible with Gravity Forms Chained Selects Add-On |
| 163 |
|
| 164 |
= 2.2.4 = |
| 165 |
- Fixed: Multi Select field |
| 166 |
|
| 167 |
= 2.2.3 = |
| 168 |
- Fixed: https://wordpress.org/support/topic/possible-bugfix-fieldids-99-breaking-conditional-logic/ |
| 169 |
|
| 170 |
= 2.2.2 = |
| 171 |
- Fixed: Upload multiple files |
| 172 |
|
| 173 |
= 2.2 = |
| 174 |
- Fixed: Conditional logic |
| 175 |
|
| 176 |
= 2.1.6 = |
| 177 |
- Fixed: set Initial Rows = 0 |
| 178 |
|
| 179 |
= 2.1.5 = |
| 180 |
- Fixed: Conditional logic out repeater |
| 181 |
|
| 182 |
= 2.1.4 = |
| 183 |
- Fixed: Save Radio submit |
| 184 |
|
| 185 |
= 2.1.3 = |
| 186 |
- Fixed: Export entries |
| 187 |
|
| 188 |
= 2.1.2 = |
| 189 |
- Fixed: Maps with field |
| 190 |
|
| 191 |
= 2.1.0 = |
| 192 |
- Fixed: Uncaught ReferenceError: gform is not defined |
| 193 |
|
| 194 |
= 2.0.9 = |
| 195 |
- Fixed: Radio |
| 196 |
|
| 197 |
= 2.0.8 = |
| 198 |
- Fixed: Conditional logic with end repeater |
| 199 |
|
| 200 |
= 2.0.7 = |
| 201 |
- Fixed: Conditional logic |
| 202 |
|
| 203 |
= 2.0.6 = |
| 204 |
- Fixed: Input Mask |
| 205 |
|
| 206 |
= 2.0.5 = |
| 207 |
- Fixed: shortcode end tags |
| 208 |
|
| 209 |
= 2.0.4 = |
| 210 |
- Fixed: Active the plugin |
| 211 |
|
| 212 |
= 2.0.3 = |
| 213 |
- Fixed: Big update |
| 214 |
|
| 215 |
= 1.0 = |
| 216 |
- Version 1.0 Initial Release |