PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Repeating Sections

  1. Hi,

    I want to know that I want to repeat a section number of times selected from a select box. Can you tell how to make it happen using GravityForms.

    Thanks

    Posted 13 years ago on Friday September 30, 2011 | Permalink
  2. You can't repeat sections or groupings on the fly. You would create a pre-defined number of steps ( say up to 10 ) in your form - each divided by a section break and then use the conditional logic to show or hide the sections based on the value of a drop down ( select )

    For example, they would first be presented with a drop down to select how many XX ( - whatever type of fields or information they contain ). They select from a pre-defined number and then the conditional logic would display that many sections in the form while the others remained hidden.

    http://www.gravityhelp.com/documentation/page/Enable_Conditional_Logic

    Posted 13 years ago on Friday September 30, 2011 | Permalink
  3. Any suggestions for a faster way to write a LONG form with multiple repeating sections? Is there a way to create a form in my code editor?

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  4. You could export the form as XML, then copy the sections that need repeating. You would have to make sure that you re-number things properly and keep the proper XML structure, but it should work. Then you can re-import the form.

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  5. Okay I'll give that a shot and thanks!

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  6. Please let us know if you run into any trouble, or if you needed to perform any magic to make it happen.

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  7. More than 200 fields so far! I copied the repeating region xml to a separate file where I could manipulate the labels simultaneously, eg, find and replace all instances of [*-x] with [3-x], I still had to edit the field id's but this method certainly saved me some time!

    Posted 13 years ago on Tuesday October 25, 2011 | Permalink
  8. Wow, that's a lot of fields. Glad it's working for you.

    Posted 13 years ago on Wednesday October 26, 2011 | Permalink