Home › Forums › ACF PRO › Relationship Field (Post Object) filtering › Reply To: Relationship Field (Post Object) filtering
Hey John. Thanks for the reply. Unfortunately the front-end form that I have created is set for “new_post” so “new_post” is sent in that value. What I need is the post_id of the page where the form is shown on the front end. OR I need a way to manipulate the Ajax query to add that value to the string so I can access it. The only way I’ve gotten this to work is with a SESSION variable which is messy. This is a password protected project management application that I’m building so that may be an OK solution but it’s not idea. If there was any other way to get this to work I’d love to hear suggestions.
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.