Description
| Generates a file input field with drag & drop, camera capture, and optional styling.
Parameter
| Description
| fieldname$
| The name of the input element of the submitting html document.
| Caption
| Optional. The label of the field. Default value when omitted: "Click or drag files to here".
| AllowMultiple
| Optional, if True, multiple files are allowed. Default value when omitted: False
| AcceptTypes
| Optional, types of files that can be uploaded. Default value when omitted: "image/*,video/*"
| InputClassName
| Optional, referes to a CSS class for styling.
|
|
Example
| Sub Main TrmSetInterface "HTML" HtmParseFile "tablet\edit_loodslijst.htm", "#IMAGES#," _ HtmMediaCapture("imagefiles", _ "<br>Upload een bestand of neem een foto/video op", _ True, "image/*,video/*", "upload-box") End Sub
|