Index: openacs-4/packages/acs-templating/tcl/element-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/element-procs.tcl,v diff -u -r1.37.2.11 -r1.37.2.12 --- openacs-4/packages/acs-templating/tcl/element-procs.tcl 31 Mar 2022 16:36:09 -0000 1.37.2.11 +++ openacs-4/packages/acs-templating/tcl/element-procs.tcl 20 Apr 2022 06:09:34 -0000 1.37.2.12 @@ -78,6 +78,7 @@ -after_html -display_value -multiple:boolean + -format args } { template::element::create syntax requires first two non-positional @@ -110,6 +111,7 @@ before_html after_html display_value + format } { if {[info exists $flag]} { dict set opts $flag [set $flag] @@ -232,6 +234,11 @@ @option multiple A flag indicating that more than one value is expected from the input element + @option format Many form elements allow to specify a format, + e.g. a way the element should be displayed + or interpret its value. Refer to the + specific widgets for the actual behavior. + @see template::widget @see template::data::validate @see template::form::create