I have a a set of nested conditionally linked ACF fields assigned to a custom post type.
When a new post is created through the admin (only when newly created – not edited), I’d like to be able read some URL parameters and preselect some values in ACF checkboxes and select inputs.
There are obviously some handy ACF Actions for on field load where I could theoretically add a selected attribute to various choices, but I’m wondering if doing this will trigger all the conditional logic and therefore display the appropriate fields.
Viewing 1 post (of 1 total)
The topic ‘Preselecting ACF values (and firing conditional JS) on new post creation.’ 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