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.9.2.8 -r1.9.2.9 --- openacs-4/packages/acs-templating/tcl/element-procs.tcl 15 Apr 2003 17:59:11 -0000 1.9.2.8 +++ openacs-4/packages/acs-templating/tcl/element-procs.tcl 25 Apr 2003 08:45:08 -0000 1.9.2.9 @@ -359,7 +359,9 @@ set label $element(name) } - set is_inform [expr [string equal $element(widget) inform] || ![string equal $element(mode) "edit"]] + # Element shouldn't be validated if it's an inform widget, or the element is not in edit mode. + # The element will be in edit mode if its mode is either blank or set to 'edit'. + set is_inform [expr [string equal $element(widget) inform] || (![string equal $element(mode) "edit"] && ![string equal $element(mode) ""])] # Check for required element if { ! $is_inform && ! $is_optional && ! [llength $values] } {