Support

Account

Home Forums Feature Requests Filters: More flexible load_field and load_value. Having the context data Reply To: Filters: More flexible load_field and load_value. Having the context data

  • If you are okay with needing to save the post in order for the choices of other fields to be generated properly then this can be done with the standard acf/load_field filter.

    PHP could also be used to have different values in different rows of a repeater, but it is far more complicated. First, the repeater rows would need to exist when you saved the post. Then when each row of the repeater is loaded you can use other functions, for example there is a function in ACF that gets the parent of the current field, you can get the values in parent fields and set the values of individual rows. It would be a fairly complicated process, but it could be done. Personally I’d find it easier to do it with JavaScript and a little AJAX where needed.