Hi,
I am looking for a way to have 2 fields in form. One field will show from wordpress categories , the parent only categories. The second field will show the child categories from the parents category that user has select in first field.
Example of my categories:
City 1
-School 1
-School 2
City 2
-School 3
City 3
-School 4
-School 5
Example of what i want:
Field 1 : City : “Select”
Field 2 : School: “Select”
I am using select for selecting categories but they are show all together parents and subs. I don’t want that because i have more than 100 parents and 600 sub categories so it is hard to explore all categories.
Is there any way that i can make it work?
Thanks in advance.
Did you ever find a solution to this, antonisg?
I’m looking for this same functionality.
Thanks.
I have the same problem, I should have more information on this.
ACF cannot do this without building custom JavaScript an AJAX requests. You may also need to use a different type of field. I have some examples of doing this here https://github.com/Hube2/acf-dynamic-ajax-select-example