I agree that the first option is not really achievable, but I’d like to elaborate on the second one, if that’s all right.
1) We add the button in HTML
3) We’d somehow indicate to the user that All or None are selected.
4) When user saves the post we use the acf/save_post hook to read our “SelectAll” variable and depending on its value we update the field accordingly. (Add or remove all guest members).
5) Page reloads and correct result appears in the relation field.
Can you please confirm my understanding is correct?
Thank you 🙂
Viewing 2 posts - 1 through 2 (of 2 total)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users