Home › Forums › Feature Requests › Allow Field Groups to override local JSON storage during form output
Hi ACF team, Thanks for the great plugin.
Issue:
When a plugin provides an ACF field group with JSON, the UI breaks a WP user’s expectations because they can still edit the field group through the ACF UI, but their changes are not shown during form output.
This creates a lot of confusion for my intended workflow. I would expect that after giving a client a custom plugin, they can edit the fields themselves to improve the field labels, descriptions, etc. Then I would re-export their changes and update the plugin. If the client breaks the field group terribly they can trash it and re-sync the JSON, so that the JSON serves as a backup to the database field settings.
Potential Solution:
I’ve created a patch for the second solution as a gist.
This patch adds a new setting per field_groups called “db_overrides_local_output”. When enabled, the field group will be shown as it exists in the database, as opposed to being overridden by the JSON file. This patch supports backwards compatibility needing to be enabled per field group for it to have an effect.
Here is a screenshot of the new settings field on a field group’s edit page.
Thoughts / feedback / a better way?
Thanks again,
Jonathan
Unrelated side note: I just lost 45 minutes typing out this feature request with much more description. I scrolled up to re-read it, and your site header appear right as I clicked. poof all gone.
Hi @daggerhart
Thanks for the post.
Would you mind opening a support ticket instead and copying over this information?
This will make you feature request get to the plugin author faster.
Please create the support request at [email protected]
The topic ‘Allow Field Groups to override local JSON storage during form output’ is closed to new replies.
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.