Support

Account

Home Forums Add-ons Repeater Field Set Dynamic Placeholders for Sub Fields Reply To: Set Dynamic Placeholders for Sub Fields

  • Hi @FATMedia

    This can be done in 2 parts.

    Part 1 is to create the default values for each sub field. This is possible through the normal field edit UI.

    Part 2 is to use a filter called acf/load_value. Pleae visit the docs page to read up on this filter. Use this filter to hook in and modify the repeater field’s value. If the value is empty (new post), then return an array. This will trick ACF into rendering the row of data using the default values set earlier.

    Does that help?

    Thanks
    E