Hello !
Since 3 days, I am using an ACF form which I made for creating/submitting new post.
I am developping a frontend user membership, with a user profile section.
Everything is OK with a simple form, but as I inserted the image upload input in my group field, the form don’t want to be submitted because acf_form alerts me that the image field is mandatory (my image has been correctly selected)
This alert appears also with image upload in repeaters.
This test has been made with a contributor user right
I tried with editor rights, it is the same thing
But when I tried with admin account, now the image is uploaded and the form submitted.
It’s unbelievable.
Why I can’t do the upload with other rights ?
How use to work websites with contributor logged members who wants to insert their logo or upload their pictures ?
Help me please. I am going to be crazy with this problem 🙁
Now, I tried with admin account, it’s doing me the same thing.
Unbelievable !
I HAVE DISCOVERED SOMETHING NEW :
When I don’t select any image… The form is submitted (without the image) even if I am admin or contributor.
The problem appears only when I select a file (basic windows uploader).
It seems that the acf form believes that I didn’t select any image.
Is it a bug ?
ANOTHER THING. MAYBE IT HELPS YOU TO UNDERSTAND.
When I select the file, in the HTML on the input value attribute, it is written :
“url=C%3A%5Cfakepath%5Cmy-file.jpg&size=61018&type=image%2Fjpeg&width=1250&height=816”
Why is it written “fake path” ?