#396 项目类型中添加默认项为无

This commit is contained in:
Li Jianxuan 2012-09-05 02:03:17 +00:00
parent 76337e2ea5
commit 6293d03434
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class OfflinePdfForm extends Zend_Form
$project_type=new Zend_Form_Element_Select('project_type'); $project_type=new Zend_Form_Element_Select('project_type');
$project_type->setLabel('项目类型')->setRequired(true); $project_type->setLabel('项目类型')->setRequired(true);
$project_type->addMultiOption("0", "");
$project_type->addMultiOption("国家973计划项目课题", "国家973计划项目课题"); $project_type->addMultiOption("国家973计划项目课题", "国家973计划项目课题");
$project_type->addMultiOption("国家863计划课题", "国家863计划课题"); $project_type->addMultiOption("国家863计划课题", "国家863计划课题");
$project_type->addMultiOption("国家级科技支撑课题", "国家级科技支撑课题"); $project_type->addMultiOption("国家级科技支撑课题", "国家级科技支撑课题");