Home › Forums › Front-end Issues › filter post object data based on another post object value ID › Reply To: filter post object data based on another post object value ID
Because this is an advanced topic, I’m afraid I can’t help you much. If you need help, you can always hire a developer to help you out with it, and I’d recommend looking for one on https://studio.envato.com/ or https://www.upwork.com/. I’m sorry about that.
Regarding you question, I believe you can get the value like this:
selected_mall = $('#acf-field_576bd813ca393-input').val();
You need to modify the code in Step 4. Function to get areas by country to get the options. Please keep in mind that the post object field is different from the select field. You need to check the page source to see how it works.
I hope this makes sense 🙂
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!