Home › Forums › Front-end Issues › Adding a sub field to a repeater with JavaScript › Reply To: Adding a sub field to a repeater with JavaScript
After a long search here in support articles and in the web including github i have already some open questions about this solution:
In my project i have one repeater field which i had to dynamically adjust based on another value. While using “load_field” it works perfect by setting [min] and [max] to the value i need (the value from another field).
But i want to set this value on the edit page too – that means i change one field – i have a new value and now: change the rows…..
I cant get it work! the add() function only works when the repeater field has NO settings for min and max. I tried a lot but with no result.
It would be great to get help.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.