I’ve the same problem. Any solutions?
I solved the problem:
$row = array(
'room' => $term['term_id'],
'id' => $arr['id']
);
$i = add_row('rooms_id', $row, 'option');
Thanks for reply John.
I try to explain with an example. Suppose i’ve 2 buttons outside acf form. If i click first one i want that my multiple select (post object type) default value is ‘one’. If i click second one selected value is ‘two’.
Because page is already loaded i cant use prepare_field hook.
I hope you could help me.
Thanks
Do you think it is possible to manipulate args directly with javascript with something like:
jQuery('#acf-field-5923eb94b4a28').select2().val('some value').trigger('change');