I have the same problem, I should have more information on this.
I put the correction you indicated, but it does not work with the acf_form
I’ve tried changing the code as you suggest. But it has not worked that way. Excuse my English, I speak Spanish.
Run the test, but it does not work
@hube2 Ticket support does not respond, I sent several without a reply weeks ago
Does not work when I use acf_form? ‘form’ => false ? ideas?
Thanks for your code
An additional question if it can be done
Is it possible to have 3 selects?
Region1
Provincia1
Distrito1
Distrito2
Provincia2
Region2
Provincia1
Distrito1
Distrito2
Provincia2
Excuse my English, I speak Spanish.
@radgh I have a problem, the values are selected, but they do not save the data 🙁
ACF: Versión 5.5.6
Thnaks
I found this helping to select parent categories
function my_taxonomy_query( $args, $field, $post_id ) {
// modify args
$args['parent'] = 0;
// return
return $args;
}
add_filter('acf/fields/taxonomy/query', 'my_taxonomy_query', 10, 3);
Image example: http://prntscr.com/e5i7a7
I created another custom field to select the child category, but how would it work?
Did you find a solution?
I’m currently running the acf_form for guests, but the guest uploader does not work.
What should I do?
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.