Index: openacs-4/packages/acs-templating/tcl/widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/widget-procs.tcl,v diff -u -r1.63.2.2 -r1.63.2.3 --- openacs-4/packages/acs-templating/tcl/widget-procs.tcl 29 Mar 2019 12:47:29 -0000 1.63.2.2 +++ openacs-4/packages/acs-templating/tcl/widget-procs.tcl 5 Jul 2019 10:00:54 -0000 1.63.2.3 @@ -482,7 +482,17 @@ upvar $element_reference element - return [input file element $tag_attributes] + array set attributes $tag_attributes + + # + # If the multiple flag is set for the element, we allow more than one file + # in the widget, by using the HTML5 'multiple' attribute of the 'input' tag + # + if { [info exists element(multiple)] } { + set attributes(multiple) {} + } + + return [input file element [array get attributes]] }