Created
July 15, 2018 08:18
-
-
Save vanleantking/6d699f6945c35be3008737cd5eb936c5 to your computer and use it in GitHub Desktop.
Create custom value checkbox on Zend FrameWork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->add(array( | |
'name' => 'status', | |
'type' => 'Checkbox', | |
'options' => array( | |
'checked_value' => 'A', | |
'unchecked_value' => 'S' | |
), | |
'attributes' => array( | |
'id' => 'status', | |
'class' => 'form-control ', | |
// 'title' => 'Vui lòng nhập thông tin này', | |
), | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment