If the input type is File, this property specifies the type of files the server accepts. File types are specified by using a comma separated list of MIME types. Wildcards may be specified so that, for example, you can specify any image file with "image/*". Go to the IANA web site for a full list of valid MIME types.

Note: Not all browsers support this attribute and browsers may not recognize all MIME types so do not rely on this property to validate files. Always validate them on the server.


Note: LANSA servers do not handle inputs of type "file". This property is only useful when submitting to a third party server.

Default value

Blank - all file types are accepted.

Valid values

Comma separated list of MIME types.