Support

Account

Home Forums Add-ons Repeater Field Bidirectional with repeater issue Reply To: Bidirectional with repeater issue

  • hello

    i make it work with this code

    
    function prevent_save_acf_value($value, $post_id, $field) {
        return get_field('thisongov', $post_id);
    }
    add_filter('acf/update_value/name=thisongov', 'prevent_save_acf_value', 10, 3);
    
    function dorzki_acf_read_only_field( $field ) {
      if( 'thisongov' === $field['name'] ) {
        $field['disabled'] = true;	
      }
      return $field;
    
    }
    
    add_filter( 'acf/load_field', 'dorzki_acf_read_only_field' );
    
    

    thank you ..

    is there any way to add 2 fields values into one as array ?