Home Forums ACF PRO Frontend form with location rules Reply To: Frontend form with location rules

  • This won’t work on the front end. In the back end when you select a category in the standard WP category box this triggers WP to run AJAX to see if there are more field groups that need to be displayed. This will not work on the front end because ACF does not update the taxonomy field until you save the post. You would basically need to create a location rule that’s based on the value of an ACF field and that functionality does not exist.

    It is something that can be done. I don’t know of any examples of how to do this with a taxonomy field, but this JavaScript is an example of how to do it with an ACF choice field and with some work you could probably make make it work with a taxonomy field.