Multi-page repeater

I’m trying to create a multi-page form with about 11 pages. Pages 4-7 should repeat as the user can add and remove items.

So I’m thinking maybe I can use the Gravity Forms repeater example with a multi-page form as the repeater field inside of another multi-page form:

But I see the repeater form as a long one page form showing all the pages and next buttons. The add/remove buttons don’t do anything.

Is this even possible or am I crazy for trying this? Is there a better way to accomplish what I want?

That’s a gnarly idea! I’ve long wanted to build a Repeatable Page add-on but I hadn’t conceptualized the ability to repeat multiple pages… :thinking:

I don’t think the Repeater API will serve you well here though. I think I’d handle the dynamic pages on gform_pre_process. You can see some wild code we attempted to restructure pages for a different purpose here:

This code would dynamically remove pages if there were no randomly selected fields on that page. In your case, you would want to dynamically add pages, but the concept is much the same. Just be sure to duplicate all the fields on those pages as well and give them IDs that won’t conflict with other field IDs on the same form.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.