Home › Forums › Backend Issues (wp-admin) › Many custom fields in a post : optimize performance › Reply To: Many custom fields in a post : optimize performance
Hiding values that need to be used is generally not a good idea. There is also another issue with hiding fields with conditional logic inside a repeater.
Let’s say that you have sub field “X” in the repeater and it has 2 different values in 2 rows. If this field is hidden by conditional logic it will not be updates. If the rows are reordered the values of the hidden sub fields will stay in place in the old row. The value from row 2 will not move to row 1 when they are reordered. Conditional logic is only useful for field values that you will not use when the condition is not met. It’s not useful for aesthetics.
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.