Re: [fw-general] How to render formSubmit element without name attrib?

2009-01-12 Thread Václav Vaník
Damn, you are right ;-) Thx. PHPScriptor wrote: > > Don't think you can. Unles you write your own Zend View Submit. And remove > the name attrib. > > class Zend_View_Helper_FormSubmit extends Zend_View_Helper_FormElement > { > public function formSubmit($name, $value = null, $attribs = nul

Re: [fw-general] How to render formSubmit element without name attrib?

2009-01-12 Thread PHPScriptor
Don't think you can. Unles you write your own Zend View Submit. And remove the name attrib. class Zend_View_Helper_FormSubmit extends Zend_View_Helper_FormElement { public function formSubmit($name, $value = null, $attribs = null) { $info = $this->_getInfo($name, $value, $attribs)

Re: [fw-general] How to render formSubmit element without name attrib?

2009-01-12 Thread Václav Vaník
Well, i want to render "Search form" such as: class Form_File_Search extends Zend_Form { public function init() { $this->setMethod(Zend_Form::METHOD_GET) ->setElementFilters(array('StringTrim')) ->setAttrib('id', 'fileSearchForm'); $file = $this-

Re: [fw-general] How to render formSubmit element without name attrib?

2009-01-12 Thread atay
maybe You'll write more details ? Václav Vaník wrote: > > Any idea? Thx. > -- View this message in context: http://www.nabble.com/How-to-render-formSubmit-element-without-name-attrib--tp21411694p21411798.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] How to render formSubmit element without name attrib?

2009-01-12 Thread Václav Vaník
Any idea? Thx. -- View this message in context: http://www.nabble.com/How-to-render-formSubmit-element-without-name-attrib--tp21411694p21411694.html Sent from the Zend Framework mailing list archive at Nabble.com.