Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding fields to repeater after it has been created #5

Open
DFWCS opened this issue Jul 3, 2021 · 4 comments
Open

Adding fields to repeater after it has been created #5

DFWCS opened this issue Jul 3, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@DFWCS
Copy link

DFWCS commented Jul 3, 2021

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?

@DFWCS
Copy link
Author

DFWCS commented Jul 3, 2021

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. :(

@wolffe wolffe added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jul 5, 2021
@wolffe
Copy link
Owner

wolffe commented Jul 5, 2021

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.

@neilgee
Copy link

neilgee commented Apr 5, 2023

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

@scottsawyer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants