Home › Forums › Feature Requests › Change Label Conditionally › Reply To: Change Label Conditionally
This isn’t something that can be done using PHP. When a repeater field is generated there is a ‘clone’ version of the row that is hidden. When you add a row ACF copies that hidden row to make the new row.
There is nothing in ACF that will let you conditionally change the label of a field, or any other aspect of a field, based on another field. I’m not the developer, but I honestly don’t see features like this making it into ACF.
The only way to accomplish what you want would be to add custom JavaScript. If you’re interested I can give you some ideas on how to accomplish this, but you said in the op that custom js was not an option.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.