Support

Account

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

  • Hi @phukol

    In this kind of situation, the solution can be really complicated. Because when you choose the Mall object, it’s not saved in the database yet, so the Cinema doesn’t know the selected Mall ID. In this case, you need to use AJAX to modify the returned Cinema objects. There’s an old tutorial on how to do something similar but for the select field. Please check it out here: https://www.bobz.co/dynamically-populate-select-fields-choice-in-advanced-custom-fields/. I think you can modify it so it works with the post object field too.

    I hope this makes sense πŸ™‚