Support

Account

Home Forums Front-end Issues Combine values from checkboxes and text/repeater fields Reply To: Combine values from checkboxes and text/repeater fields

  • Do do this you need to create an acf/save_post action.

    1. In your filter you need to get the value from the repeater
    2. use get_field_object() to get the checkbox field.
    3. Add the new choices to $field[‘choices’]
    4. call acf_update_field($field) to permanently add the choices to the field
    5. delete the values from the repeater.