ACCEPT

String Value Types

Property description

Specifying file type for uploading by a group or an extension is set up by accepting attributes, where an empty default value allows any file.

Accept image files only
ƒx (String): Accept files defines by string value types
ƒx (String valuetypes): file_extension|audio/|video/|image/*|media_type

State

Accept attributes are limiting the acceptance of filetypes.

Value type

https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values

Availability

File Upload

Last updated

Was this helpful?