Hi, ‘m planning to develop a system based on custom_post_type of 3 base kind:
Event is my base value.
Each Appointment can have max 1 relation with an Event.
Person can have only 1 relation to Event but several appointments.
I’m wondering to create a custom structure for Person where:
– I select the base Event as Relationship;
– Once I did it the next field of Appointments will be filtered using the Event selected (looking at the relation inside the custom_post Appointment that links Event & Appointment);
This is what I’m looking for, but atm I haven’t figured out yet how to do this and if I can do this using ACF.
Do you have any hint? Suggestion to reach my goal?
Yes. The link you have posted is a good tutorial to follow if you want to populate a select field’s choices dynamically. Please note that this will not create any jQuery / AJAX functionality, and will only work on page load.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
It’s official! These brilliant minds (@tessak22 and @zgordon) are creating an entire course on ACF Blocks! Interested in Gutenberg but enjoy the comfortable recliner that is PHP? This course is for you! Pre-sale on now! 🔥🔥🔥 https://t.co/ifMzctgsN8