I found a solution,
I have create an input width menu_order as value
<input type="texte" name="menu_order" value="<?php echo $post->menu_order; ?>"/>
and when i update acf_form();
I launch a function :
add_filter('acf/pre_save_post' , 'my_pre_save_post' );
function my_pre_save_post($post_id) {
$menuOrder = $_POST['menu_order'];
$post = array(
'menu_order' => $menuOrder
);
$post_id = wp_update_post( $post );
// Save the fields to the post
do_action( 'acf/save_post' , $post_id );
}
Sorry,
I attach a snapshot :
I share my code for those who want
PHP
<?php if( have_rows('field_name_repeater') ): ?>
<?php while( have_rows('field_name_repeater') ): the_row();
$color = get_sub_field('fied_colorpicker');
?>
<div class="color-repeat" data-color="<?php echo $color; ?>">
<div class="colorName"></div>
</div>
<?php endwhile; ?>
<?php endif; ?>
JS :
$('.color-repeat').each(function( ) {
var color = $(this).data( "color" );
var n_match = ntc.name(color);
n_name = n_match[1]; // Text string: Color name
$(this).find(".colorName").text(n_name);
});