Hi everyone !
Here is my config :
ACF_PRO : 5.8.7
WP : 5.3.2
And my problem :
I’have a custom post type “candidatures” and i use an acf form on my template file
<?php
acf_form(array(
'post_id'=> 'new_post',
'uploader' => 'basic',
'new_post' => array( 'post_type' => 'candidatures', 'post_status' => 'publish'),
'field_groups' => array(18935),
'submit_value' => __("Postuler", 'acf'),
));
?>
In this form there is 2 fields of type ‘file’. When i click submit everythings is publish except my file :/ if i add a post_content and try to upload a file i can but the field file doesn’t works. Any idea?
PS: I have acf_form_head at the top of my file 😉
Thanks for your help !
Here is some additionnal information, if i remove ‘uploader’ => ‘basic’
The input file is transform to a link “add file” but nothing append when i click on it…
Damn i don’t know how to fix it…