diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 8a28751c76..632de65084 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -1600,7 +1600,7 @@ //echo "
setting content[$form_name]='$_cont' because is was unset !!!
\n"; $this->set_array($content,$form_name,$_cont); } - if ($_cont === '' && $attr['needed']) + if ($_cont === '' && $attr['needed'] && !$attr['blur']) { $GLOBALS['egw_info']['etemplate']['validation_errors'][$form_name] = lang('Field must not be empty !!!',$value); } @@ -1612,7 +1612,7 @@ case 'float': case 'text': case 'textarea': - if ($value === '' && $attr['needed']) + if ($value === '' && $attr['needed'] && !$attr['blur']) { $GLOBALS['egw_info']['etemplate']['validation_errors'][$form_name] = lang('Field must not be empty !!!',$value); }