生成离线申请表的时候所有都是必选项
This commit is contained in:
parent
32e038c402
commit
bfc996fc3d
|
@ -12,6 +12,7 @@ class OfflinePdfForm extends Zend_Form
|
|||
$email->setLabel('E-Mail')
|
||||
->addFilter('StringTrim')
|
||||
->addValidator('NotEmpty')
|
||||
->setRequired(true)
|
||||
->addValidator('EmailAddress');
|
||||
|
||||
$realname=new Zend_Form_Element_Text('realname');
|
||||
|
|
|
@ -15,3 +15,4 @@ dl.userform dt{float:left;}
|
|||
dl.zend_form dt label{float:left;width:100px;}
|
||||
#submitbutton,#savebutton {float:left;}
|
||||
.zend_form dt{float:left;}
|
||||
label.required { background:url(/images/req-asterisk.gif) right no-repeat; padding-right:26px; }
|
Loading…
Reference in New Issue