Index: openacs-4/contrib/packages/project-manager/www/process-task-add-edit-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/process-task-add-edit-2.tcl,v diff -u -r1.6 -r1.6.2.1 --- openacs-4/contrib/packages/project-manager/www/process-task-add-edit-2.tcl 12 Mar 2004 13:44:45 -0000 1.6 +++ openacs-4/contrib/packages/project-manager/www/process-task-add-edit-2.tcl 20 May 2004 17:30:05 -0000 1.6.2.1 @@ -26,6 +26,11 @@ {use_dependency:integer,multiple ""} } -validate { + no_estimated_hours { + if {![exists_and_not_null estimated_hours_work] && ![exists_and_not_null estimated_hours_work_min] && ![exists_and_not_null estimated_hours_work_max]} { + ad_complain + } + } process_id_missing { if {![exists_and_not_null process_id]} { ad_complain @@ -60,6 +65,8 @@ } } } -errors { + no_estimated_hours {You must enter estimated hours. If nothing + else, enter 0 for the estimated hours} process_id_missing {I don't know which process these tasks are for!} task_title_too_long {A task subject is too long. It must be 198 characters or less} description_too_long {A description subject is too long. It must be 3998 characters or less}