TutorialRepeater Field Gravity Forms (nested)

Do you want to use a Gravity Form within a Gravity Form? This is the way to do it. Be aware: it’s not yet clear how the use of this plugin affects the working of related add-ons, but most developers are very positive about this extension to Gravity Forms.

Do you want to use a Gravity Form within a Gravity Form? This is the way to do it. Be aware: it’s not yet clear how the use of this plugin affects the working of related add-ons, but most developers are very positive about this extension to Gravity Forms.

Single Line Text Number Actions
   
Code used: {Nested Forms Repeater:4:count}
Code used: {Nested Forms Repeater:4:sum=3}

Create first your repeater Gravity Form (nested)

First you create a child form (you can also do that later) that you want to be repeated. Be aware: use not too many fields in your repeater form (which is going to be a repeater field for Gravity Forms in another form), it’s going to be a problem later when designing it.

Screenshot of the Nested Form that is used inside a parent form. Gravity Forms 2.5 and later
Screenshot of the Nested Form that is used inside a parent form.
Screenshot of the Nested Form that is used inside a parent form. Gravity Forms 2.4 and earlier
Screenshot of the Nested Form that is used inside a parent form. Gravity Forms 2.4 and earlier

Note that you need the ID’s of the form fields in your repeater form later if you want to do calculations.

Create a Gravity Form with a Repeater Form Field inside

Than create your form where you want to add the repeater form.

Screenshot of adding a Nested Form field to your parent Gravity Form. Gravity Forms 2.5 and later
Screenshot of adding a Nested Form field to your parent Gravity Form.

After creating the form, just click on ‘Nested Form Repeater’ under ‘Advanced fields’ and configure the loop.

Screenshot of available settings for the Nested Form field.
Screenshot of available settings for the Nested Form field.
Screenshot of available settings for the Nested Form field. Gravity Forms 2.4 and earlier
Screenshot of available settings for the Nested Form field. Gravity Forms 2.4 and earlier
Appearance tab for the Nested Form Field in Gravity Forms 2.4 and earlier
Appearance tab for the Nested Form Field in Gravity Forms 2.4 and earlier

How does nested forms looks like in GravityView?

Check our demo below on this page how it looks like when you use GP Nested Forms (repeater field) in GravityView to show the data.

Single Line TextNested Forms RepeaterNested Forms Repeater Merge Tag
test
2 entries
Single Line Text
  fddfg
Number
  2
Single Line Text
  dgdgdfg
Number
  789
Single Line TextNested Forms RepeaterNested Forms Repeater Merge Tag

Read more tutorials about Gravity Wiz LLC

Gravity Perks by Gravity Wiz LLC provides you with extra, very handy options and functionalities for your Gravity Forms. Visit GravityWiz.com
All tutorials Gravity Wiz LLC