# Loop a form without repeater fields

**URL:** <https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112>\
**Category:** General Discussion\
**Tags:** jetsloth, gravity-wiz, repeater\
**Created:** [October 27, 2019, 7:53pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112 "2019-10-27T19:53:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5d9e91fa4280c140](https://avatars.discourse-cdn.com/v4/letter/u/74df32/32.png) [@user5d9e91fa4280c140](https://community.gravityforms.com/u/user5d9e91fa4280c140)\
**Post date:** [October 27, 2019, 7:53pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/1 "2019-10-27T19:53:39Z")

</div>

understand Gravity form repeater fields are in beta and do not support product fields. I am trying to have my form loop back to the beginning.

My form is an order for with many conditional logic options. When the customer gets to the bottom they are asked if they have another product. If they say yes, I want it to start over while keeping the original product with options choose the first time.

Is this possible?  
Or do I have to replicate all the previous fields and make them conditional?  
If so, is there a way to duplicate multiple fields at once or do I have to duplicate each field individually?

Any help will be greatly appreciated.

Best regards,

Stephanie

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 28, 2019, 4:05am UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/2 "2019-10-28T04:05:42Z")

</div>

If you have a finite number of products that will allow on an order (for example, they can only order up to 10 items) then you could use an individual section for each product, and use conditional logic (based on the answer to a question “do you have another product”) to shown them as necessary. Each section would have fields to collect all the information you need about that product.

In order to repeat sections of fields, you can use this add-on for Gravity Forms:

> **[Edit and duplicate multiple fields Gravity Forms - GravityWP](https://gravitywp.com/edit-and-duplicate-multiple-fields-gravity-forms/)**
>
> Do you want to duplicate multiple Gravity Forms fields at once? Or edit many titles of different fields in one overview? Than you should really consider to use the Bulk Actions Pro plugin for Gravity Forms.

Or, there is this 3rd party solution which may be exactly what you are looking for:

> **[Gravity Forms Nested Forms | Gravity Forms Repeater Add-on by Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-nested-forms/)**
>
> A Gravity Forms Repeater Addon for simple or more complex forms. Create forms within forms for better management of complex data collection. Formception!

---

<div class="post-metadata">

**Author:** ![user5d9e91fa4280c140](https://avatars.discourse-cdn.com/v4/letter/u/74df32/32.png) [@user5d9e91fa4280c140](https://community.gravityforms.com/u/user5d9e91fa4280c140)\
**Post date:** [October 28, 2019, 10:09pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/3 "2019-10-28T22:09:50Z")

</div>

Thank you, those are great suggestions.  
We are trying to keep the current costs down as much as possibly and cant buy the addon right now.

The 3rd party plugin is not searchable in wordpress, do i need to download and then upload?

We have three products with multiple options and variations (all set to conditional logic) but still three products. We want the customer to choose their product, customize it with the options and then be asked if they have another project. If they say no, the form opens up the shipping and contact information to order their product. If they choose yes, the same three products need to appear to allow them to choose from the same chooses again. We want them to be able to do this up to five times before contacting us directly or filling out another form.

Do I need to just replicate/ duplicate the fields and set their own conditional logic?

Best Regards,

Stephanie

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 28, 2019, 10:37pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/4 "2019-10-28T22:37:01Z")

</div>

There were two 3rd party add-ons I mentioned. They are both paid. Here’s where you can find them:

> **[Gravity Forms Bulk Actions - JetSloth](https://jetsloth.com/wordpress-plugins/gravity-forms-bulk-actions/)**
>
> Working with large forms, with lots of fields is more common than you may think. Gravity Forms Bulk Actions makes editing large forms fast.

> **[Gravity Forms Nested Forms | Gravity Forms Repeater Add-on | Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-nested-forms/)**
>
> Nest forms within forms for better management of complex data collection. Gravity Forms Nested Forms also works as a Gravity Forms Repeater!

> [@user5d9e91fa4280c140](#):
>
> Do I need to just replicate/ duplicate the fields and set their own conditional logic?

Yes, you would just duplicate the sections and the fields (for the product) within the section. Use conditional logic on the whole section when you want to show it, based on their click on “do you want to add another product.” You won’t need to use conditional logic on each field in the section; just use the conditional logic on the section break.

You will have one section visible, then four more sections that can be revealed using conditional logic.

---

<div class="post-metadata">

**Author:** ![user5d9e91fa4280c140](https://avatars.discourse-cdn.com/v4/letter/u/74df32/32.png) [@user5d9e91fa4280c140](https://community.gravityforms.com/u/user5d9e91fa4280c140)\
**Post date:** [October 28, 2019, 10:48pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/5 "2019-10-28T22:48:44Z")

</div>

Thank you, that clears up a lot.

I am using X Theme and since the update, the gravity forms element is no longer supported. I have to enter a short code into a raw content or snippet element to display the form.  
Issue is I can’t find the forms short code. I reviewed the documentation on how to load a form on my pages and found only one call function that does not work inside of my themes elements within cornerstone.  
If I add it through the WordPress page editor, I can’t mess with the css in cornerstone and the theme may overwrite the form. Any ideas?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 29, 2019, 3:11am UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/6 "2019-10-29T03:11:28Z")

</div>

> [@user5d9e91fa4280c140](#):
>
> Issue is I can’t find the forms short code.

Does this help?

> **[Creating a Form Shortcode](https://docs.gravityforms.com/shortcodes/)**
>
> Gravity Forms makes use of WordPress shortcodes to allow users to perform certain actions as well as display forms in WordPress pages and posts.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 12:41pm UTC](https://community.gravityforms.com/t/loop-a-form-without-repeater-fields/3112/7 "2022-01-05T12:41:31Z")

</div>


