Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Problem with image field control in frontend forms: Allowed file types

$
0
0

Replies: 0

Hi!
This is actual situation:
-All works ok. PHP8, latest version of WP and plugins. Theme 2021/2019.
-I disable all plugins, except Advanced Custom Fields PRO and Advanced Custom Fields: Extended.
-Add a image field in “Advanced Custom Fields PRO”, with “Allowed file types” set in only jpg.
-Add a form in “Advanced Custom Fields: Extended” for update that image from a single page in frontend.
Testing:
When I load a png (not a jpg) image, the system alows to send the form with “submission notice ok” (but image is not upload to the post).
The system must not allow to send the form with a png image.

Note: others controls like “restrict which images can be uploaded: file size, width or height” works ok. The rest the controls in others fields works ok.

Can you help me?
Thank you.


Viewing all articles
Browse latest Browse all 59525

Trending Articles