repeater2-for-gravity-forms
repeater2-for-gravity-forms copied to clipboard
Adding fields to repeater after it has been created
I have noticed that I cannot add a new field into the repeater after it has been created. For example, if I have
repeater number field end repeater
and I go back later and decide I want a text label in there, so it looks like this
repeater text number field end repeater
The text field does not repeat. If I try to create a new repeater, sometimes it breaks the form entirely... it will not display... until I have deactivated the plugin and reactivated it, created new fields etc. I had to jump through a lot of hoops just to get it displaying on the site again. Is this is a known bug?
I have determined that the repeater plugin was breaking my form, and I had to remove it. Once I did, all the issues I had been experiencing resolved themselves. I'm super disappointed, but I hope you will find a working recipe because it was really useful. :(
There are lots of bugs with this plugin, but Gravity Forms 2.5 has a cache mechanism. I have experienced this myself when adding new form elements, I had to wait a bit or repeatedly SHIFT + refresh. It worked eventually.
I am slowly working on updating some code for a client of mine and I might be able to get more insight into how it's working.
I am getting the same problem - adding a field to repeater breaks it - I also have a console error Uncaught TypeError: can't access property 8, repeater2Info.children is undefined
I think I ran into a similar bug, I got it working by deleting the "Repeater end", changing my fields, then adding Repeater end back to the form.