$this->add([
'name' => 'submit',
'type' => 'button',
'options' => [
'label' => 'Submit',
],
'attributes' => [
'type' => 'submit',
'value' => 'my_test_value', // <<< !
'class' => 'btn btn-primary',
],
]);
It does not work. As for the name, you can probably create a parameter
"show_name", which will take into the view helper.
Thank you.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Form-Element-Button-tp4661398p4661403.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]