Support

Account

Home Forums General Issues autofill fields using acf_update_value Reply To: autofill fields using acf_update_value

  • Hi @rotorbit69,

    Thanks for the post.

    Yes the code appears to be correct and the set value should override the one entered on the post edit page.

    Please debug your code to check if the new value has been set through:

    <?php 
    
    $field_value = get_field('myACFfieldname');
    
    echo '<pre>';
    	var_dump( $field_value );
    echo '</pre>';
    
    ?>