Home › Forums › General Issues › How can I filter a post object field based on another field? › Reply To: How can I filter a post object field based on another field?
Currently, no, this is not possible.
You can however, create the 2 fields (post object fields) to display all the available make / model data. Then you could use some custom jQuery code to trigger an AJAX call when you change the make value. This could then go off and return all the models that are appropriate, and then hide the ones (options tag within select field) that are not returned.
Hope that helps.
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.