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.14.2.7 -r1.14.2.8 --- openacs-4/packages/acs-templating/tcl/widget-procs.tcl 15 Apr 2003 15:44:18 -0000 1.14.2.7 +++ openacs-4/packages/acs-templating/tcl/widget-procs.tcl 25 Apr 2003 08:40:04 -0000 1.14.2.8 @@ -150,8 +150,9 @@ # This can be used in the form template in a tag. set attributes(id) "$element(form_id):elements:$element(name):$element(value)" } - - if { ![string equal $element(mode) "edit"] && ![string equal $element(widget) "hidden"] && \ + + # Handle display mode of visible normal form elements, i.e. not hidden, not submit, not button, not clear + if { ![string equal $element(mode) "edit"] && ![string equal $type "hidden"] && \ ![string equal $type "submit"] && ![string equal $type "button"] && \ ![string equal $type "clear"] } {