protected function canValidateField(Tracker_Artifact $artifact, Tracker_FormElement_Field $field)
 {
     $last_changeset = $artifact->getLastChangeset();
     //we do not validate if we are in submission mode, the field is required and we can't submit the field
     return !(!$last_changeset && $field->isRequired() && !$field->userCanSubmit());
 }
 protected function canValidateField(Tracker_Artifact $artifact, Tracker_FormElement_Field $field)
 {
     //we do not validate if the field is required and we can't submit the field
     return !($field->isRequired() && !$field->userCanSubmit());
 }