Allow configuration of the "accept" attribute value of "file" type forms
If a user puts in his .lsp file the following:
<%
form.enctype = "multipart/form-data"
form.value.file.type="file"
form.value.file.accept=".txt"
htmlviewfunctions.displayitem(form, page_info)
%>
The file chooser is set to display "all files" instead of only ".txt".
Seems like adding "accept" to the list attributes on lines 117-120 in acf-lib/html.lua generic_input function would allow for the "accept" attribute to be configured. See patch file.acf-lib.patch