I have post types "Clients", "Projects", and "Tasks". Each Project is linked to a Client using an ACF "Post Object" field.
I have a front end "Task" editing form rendered via the acf_form() function:
acf_form(
array(
'fields' => array( 'status', 'client', 'project') ,
'post_title' => true,
'post_content' => true,
)
);
However, the "Projects" selection control populates all projects in the database. Is it possible for it to only get the Projects that relate to the selected Client? I don't see anything in the documentation about passing parameters into the field list, etc. https://www.advancedcustomfields.com/resources/acf_form/