Skip to content

Commit

Permalink
Merge pull request sapplica#107 from go-faustino/employee-id-field
Browse files Browse the repository at this point in the history
Employee id field
  • Loading branch information
go-faustino authored Nov 15, 2017
2 parents 343f2ce + 8374d78 commit 0a22130
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions application/modules/default/forms/employee.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public function init()
$office_faxnumber = new Zend_Form_Element_Text('office_faxnumber');
$office_faxnumber->setAttrib('maxLength', 30);
$office_faxnumber->setLabel("Enterprise ID");
$office_faxnumber->setRequired(true);
$office_faxnumber->addFilter(new Zend_Filter_StringTrim());

$yearsofexp = new Zend_Form_Element_Text('years_exp');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ if(!empty($this->msgarray) && isset($this->msgarray))
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->office_faxnumber->getLabel(); ?></label>
<label class="required"><?php echo $this->form->office_faxnumber->getLabel(); ?></label>
<div class="division"><?php echo $this->form->office_faxnumber; ?></div>
<?php if(isset($this->msgarray['office_faxnumber'])){?>
<span class="errors" id="errors-<?php echo $this->form->office_faxnumber->getId(); ?>"><?php echo $this->msgarray['office_faxnumber'];?></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ $report_opt = $this->report_opt;
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->office_faxnumber->getLabel(); ?></label>
<label class="required"><?php echo $this->form->office_faxnumber->getLabel(); ?></label>
<div class="division"><?php echo $this->form->office_faxnumber; ?></div>
<?php if(isset($this->msgarray['office_faxnumber'])){?>
<span class="errors" id="errors-<?php echo $this->form->office_faxnumber->getId(); ?>"><?php echo $this->msgarray['office_faxnumber'];?></span>
Expand Down

0 comments on commit 0a22130

Please sign in to comment.